API

API(Application Programming Interface,应用程序编程接口)是一组定义了软件组件之间交互的规范和工具。它定义了软件系统中各个组件(如函数、类、方法等)之间的通信方式和数据交换格式,为开发人员提供了一种简洁而规范的方式来使用和扩展软件功能。

图形 API 规范 Vulkan 1.1.97 发布:新增5个扩展程序

Vulkan 1.1.97 已经发布,该版本主要新增了一些扩展程序,内容如下:

  •   VK_EXT_buffer_device_address - Provides a means to query a buffer device address value for a buffer. That value can then be used to access the buffer memory via PhysicalStorageBufferEXT in GLSL and SPV_EXT_physical_storage_buffer from SPIR-V.

  •   VK_EXT_memory_budget - This exposes the memory used and total memory budgeted for a memory heap. From there it can be estimated for how much total memory from each heap a process is using at a particular moment.