This extension adds new functionalities:
VK_KHR_acceleration_structureVK_EXT_descriptor_indexing and VK_KHR_buffer_device_address and VK_KHR_deferred_host_operations| Modifier and Type | Field and Description |
|---|---|
| public static final int | VK_ACCELERATION_STRUCTURE_BUILD_TYPE_DEVICE_KHR
VkAccelerationStructureBuildTypeKHR - Acceleration structure build type Description
|
| public static final int | VK_ACCELERATION_STRUCTURE_BUILD_TYPE_HOST_KHR
VkAccelerationStructureBuildTypeKHR - Acceleration structure build type Description
|
| public static final int | VK_ACCELERATION_STRUCTURE_BUILD_TYPE_HOST_OR_DEVICE_KHR
VkAccelerationStructureBuildTypeKHR - Acceleration structure build type Description
|
| public static final int | VK_ACCELERATION_STRUCTURE_COMPATIBILITY_COMPATIBLE_KHR
VkAccelerationStructureCompatibilityKHR - Acceleration structure compatibility Description
|
| public static final int | VK_ACCELERATION_STRUCTURE_COMPATIBILITY_INCOMPATIBLE_KHR
VkAccelerationStructureCompatibilityKHR - Acceleration structure compatibility Description
|
| public static final int | VK_ACCELERATION_STRUCTURE_CREATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT_KHR
VkAccelerationStructureCreateFlagBitsKHR - Bitmask specifying additional creation parameters for acceleration structure Description
|
| public static final int | VK_ACCELERATION_STRUCTURE_TYPE_BOTTOM_LEVEL_KHR
VkAccelerationStructureTypeKHR - Type of acceleration structure Description
|
| public static final int | VK_ACCELERATION_STRUCTURE_TYPE_GENERIC_KHR
VkAccelerationStructureTypeKHR - Type of acceleration structure Description
|
| public static final int | VK_ACCELERATION_STRUCTURE_TYPE_TOP_LEVEL_KHR
VkAccelerationStructureTypeKHR - Type of acceleration structure Description
|
| public static final int | VK_ACCESS_ACCELERATION_STRUCTURE_READ_BIT_KHR
Extends |
| public static final int | VK_ACCESS_ACCELERATION_STRUCTURE_WRITE_BIT_KHR
Extends |
| public static final int | VK_BUFFER_USAGE_ACCELERATION_STRUCTURE_BUILD_INPUT_READ_ONLY_BIT_KHR
Extends |
| public static final int | VK_BUFFER_USAGE_ACCELERATION_STRUCTURE_STORAGE_BIT_KHR
Extends |
| public static final int | VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_COMPACTION_BIT_KHR
VkBuildAccelerationStructureFlagBitsKHR - Bitmask specifying additional parameters for acceleration structure builds Description
|
| public static final int | VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_UPDATE_BIT_KHR
VkBuildAccelerationStructureFlagBitsKHR - Bitmask specifying additional parameters for acceleration structure builds Description
|
| public static final int | VK_BUILD_ACCELERATION_STRUCTURE_LOW_MEMORY_BIT_KHR
VkBuildAccelerationStructureFlagBitsKHR - Bitmask specifying additional parameters for acceleration structure builds Description
|
| public static final int | VK_BUILD_ACCELERATION_STRUCTURE_MODE_BUILD_KHR
VkBuildAccelerationStructureModeKHR - Enum specifying the type of build operation to perform Description
|
| public static final int | VK_BUILD_ACCELERATION_STRUCTURE_MODE_UPDATE_KHR
VkBuildAccelerationStructureModeKHR - Enum specifying the type of build operation to perform Description
|
| public static final int | VK_BUILD_ACCELERATION_STRUCTURE_PREFER_FAST_BUILD_BIT_KHR
VkBuildAccelerationStructureFlagBitsKHR - Bitmask specifying additional parameters for acceleration structure builds Description
|
| public static final int | VK_BUILD_ACCELERATION_STRUCTURE_PREFER_FAST_TRACE_BIT_KHR
VkBuildAccelerationStructureFlagBitsKHR - Bitmask specifying additional parameters for acceleration structure builds Description
|
| public static final int | VK_COPY_ACCELERATION_STRUCTURE_MODE_CLONE_KHR
VkCopyAccelerationStructureModeKHR - Acceleration structure copy mode Description
|
| public static final int | VK_COPY_ACCELERATION_STRUCTURE_MODE_COMPACT_KHR
VkCopyAccelerationStructureModeKHR - Acceleration structure copy mode Description
|
| public static final int | VK_COPY_ACCELERATION_STRUCTURE_MODE_DESERIALIZE_KHR
VkCopyAccelerationStructureModeKHR - Acceleration structure copy mode Description
|
| public static final int | VK_COPY_ACCELERATION_STRUCTURE_MODE_SERIALIZE_KHR
VkCopyAccelerationStructureModeKHR - Acceleration structure copy mode Description
|
| public static final int | VK_DEBUG_REPORT_OBJECT_TYPE_ACCELERATION_STRUCTURE_KHR_EXT
Extends |
| public static final int | VK_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_KHR
Extends |
| public static final long | VK_FORMAT_FEATURE_2_ACCELERATION_STRUCTURE_VERTEX_BUFFER_BIT_KHR
Extends |
| public static final int | VK_FORMAT_FEATURE_ACCELERATION_STRUCTURE_VERTEX_BUFFER_BIT_KHR
Extends |
| public static final int | VK_GEOMETRY_INSTANCE_FORCE_NO_OPAQUE_BIT_KHR
VkGeometryInstanceFlagBitsKHR - Instance flag bits Description
|
| public static final int | VK_GEOMETRY_INSTANCE_FORCE_OPAQUE_BIT_KHR
VkGeometryInstanceFlagBitsKHR - Instance flag bits Description
|
| public static final int | VK_GEOMETRY_INSTANCE_TRIANGLE_FACING_CULL_DISABLE_BIT_KHR
VkGeometryInstanceFlagBitsKHR - Instance flag bits Description
|
| public static final int | VK_GEOMETRY_INSTANCE_TRIANGLE_FLIP_FACING_BIT_KHR
VkGeometryInstanceFlagBitsKHR - Instance flag bits Description
|
| public static final int | VK_GEOMETRY_INSTANCE_TRIANGLE_FRONT_COUNTERCLOCKWISE_BIT_KHR
VkGeometryInstanceFlagBitsKHR - Instance flag bits Description
|
| public static final int | VK_GEOMETRY_NO_DUPLICATE_ANY_HIT_INVOCATION_BIT_KHR
VkGeometryFlagBitsKHR - Bitmask specifying additional parameters for a geometry Description
|
| public static final int | VK_GEOMETRY_OPAQUE_BIT_KHR
VkGeometryFlagBitsKHR - Bitmask specifying additional parameters for a geometry Description
|
| public static final int | VK_GEOMETRY_TYPE_AABBS_KHR
VkGeometryTypeKHR - Enum specifying which type of geometry is provided Description
|
| public static final int | VK_GEOMETRY_TYPE_INSTANCES_KHR
VkGeometryTypeKHR - Enum specifying which type of geometry is provided Description
|
| public static final int | VK_GEOMETRY_TYPE_TRIANGLES_KHR
VkGeometryTypeKHR - Enum specifying which type of geometry is provided Description
|
| public static final int | VK_INDEX_TYPE_NONE_KHR
Extends |
| public static final String | VK_KHR_ACCELERATION_STRUCTURE_EXTENSION_NAME
The extension name. |
| public static final int | VK_KHR_ACCELERATION_STRUCTURE_SPEC_VERSION
The extension specification version. |
| public static final int | VK_OBJECT_TYPE_ACCELERATION_STRUCTURE_KHR
Extends |
| public static final int | VK_PIPELINE_STAGE_ACCELERATION_STRUCTURE_BUILD_BIT_KHR
Extends |
| public static final int | VK_QUERY_TYPE_ACCELERATION_STRUCTURE_COMPACTED_SIZE_KHR
Extends |
| public static final int | VK_QUERY_TYPE_ACCELERATION_STRUCTURE_SERIALIZATION_SIZE_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_BUILD_GEOMETRY_INFO_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_BUILD_SIZES_INFO_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_CREATE_INFO_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_DEVICE_ADDRESS_INFO_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_AABBS_DATA_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_INSTANCES_DATA_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_TRIANGLES_DATA_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_VERSION_INFO_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_COPY_ACCELERATION_STRUCTURE_INFO_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_COPY_ACCELERATION_STRUCTURE_TO_MEMORY_INFO_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_COPY_MEMORY_TO_ACCELERATION_STRUCTURE_INFO_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ACCELERATION_STRUCTURE_FEATURES_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ACCELERATION_STRUCTURE_PROPERTIES_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_ACCELERATION_STRUCTURE_KHR
Extends |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static int | nvkBuildAccelerationStructuresKHR(VkDevice device, long deferredOperation, int
the number of acceleration structures to build. It specifies the number of the infoCount, long pInfos, long ppBuildRangeInfos)pInfos structures and ppBuildRangeInfos pointers that must be provided.Unsafe version of: |
| public static void | nvkCmdBuildAccelerationStructuresIndirectKHR(VkCommandBuffer commandBuffer, int
the number of acceleration structures to build. infoCount, long pInfos, long pIndirectDeviceAddresses, long pIndirectStrides, long ppMaxPrimitiveCounts)Unsafe version of: |
| public static void | nvkCmdBuildAccelerationStructuresKHR(VkCommandBuffer commandBuffer, int
the number of acceleration structures to build. It specifies the number of the infoCount, long pInfos, long ppBuildRangeInfos)pInfos structures and ppBuildRangeInfos pointers that must be provided.Unsafe version of: |
| public static void | nvkCmdCopyAccelerationStructureKHR(VkCommandBuffer commandBuffer, long pInfo)
Unsafe version of: |
| public static void | nvkCmdCopyAccelerationStructureToMemoryKHR(VkCommandBuffer commandBuffer, long pInfo)
Unsafe version of: |
| public static void | nvkCmdCopyMemoryToAccelerationStructureKHR(VkCommandBuffer commandBuffer, long pInfo)
Unsafe version of: |
| public static void | nvkCmdWriteAccelerationStructuresPropertiesKHR(VkCommandBuffer commandBuffer, int
the count of acceleration structures for which to query the property. accelerationStructureCount, long pAccelerationStructures, int queryType, long queryPool, int firstQuery)Unsafe version of: |
| public static int | nvkCopyAccelerationStructureKHR(VkDevice device, long deferredOperation, long pInfo)
Unsafe version of: |
| public static int | nvkCopyAccelerationStructureToMemoryKHR(VkDevice device, long deferredOperation, long pInfo)
Unsafe version of: |
| public static int | nvkCopyMemoryToAccelerationStructureKHR(VkDevice device, long deferredOperation, long pInfo)
Unsafe version of: |
| public static int | nvkCreateAccelerationStructureKHR(VkDevice device, long pCreateInfo, long pAllocator, long pAccelerationStructure)
Unsafe version of: |
| public static void | nvkDestroyAccelerationStructureKHR(VkDevice device, long accelerationStructure, long pAllocator)
Unsafe version of: |
| public static void | nvkGetAccelerationStructureBuildSizesKHR(VkDevice device, int buildType, long pBuildInfo, long pMaxPrimitiveCounts, long pSizeInfo)
Unsafe version of: |
| public static long | nvkGetAccelerationStructureDeviceAddressKHR(VkDevice device, long pInfo)
Unsafe version of: |
| public static void | nvkGetDeviceAccelerationStructureCompatibilityKHR(VkDevice device, long pVersionInfo, long pCompatibility)
Unsafe version of: |
| public static int | nvkWriteAccelerationStructuresPropertiesKHR(VkDevice device, int
the count of acceleration structures for which to query the property. accelerationStructureCount, long pAccelerationStructures, int queryType, long the size in bytes of the buffer pointed to by dataSize, long pData, long stride)pData.Unsafe version of: |
| public static int | vkBuildAccelerationStructuresKHR(VkDevice
the device, long VkDevice for which the acceleration structures are being built.an optional deferredOperation, VkAccelerationStructureBuildGeometryInfoKHR.VkDeferredOperationKHR to request deferral for this command.a pointer to an array of pInfos,infoCount VkAccelerationStructureBuildGeometryInfoKHR structures defining the geometry used to build each acceleration structure.a pointer to an array of ppBuildRangeInfos)infoCount pointers to arrays of VkAccelerationStructureBuildRangeInfoKHR structures. Each ppBuildRangeInfos[i] is a pointer to an array of pInfos[i].geometryCount VkAccelerationStructureBuildRangeInfoKHR structures defining dynamic offsets to the addresses where geometry data is stored, as defined by pInfos[i].Build an acceleration structure on the host. |
| public static void | vkCmdBuildAccelerationStructuresIndirectKHR(VkCommandBuffer
the command buffer into which the command will be recorded. commandBuffer, VkAccelerationStructureBuildGeometryInfoKHR.a pointer to an array of pInfos,infoCount VkAccelerationStructureBuildGeometryInfoKHR structures defining the geometry used to build each acceleration structure.a pointer to an array of pIndirectDeviceAddresses, IntBuffer infoCount buffer device addresses which point to pInfos[i].geometryCount VkAccelerationStructureBuildRangeInfoKHR structures defining dynamic offsets to the addresses where geometry data is stored, as defined by pInfos[i].a pointer to an array of pIndirectStrides, PointerBuffer infoCount byte strides between elements of pIndirectDeviceAddresses.a pointer to an array of ppMaxPrimitiveCounts)infoCount pointers to arrays of pInfos[i].geometryCount values indicating the maximum number of primitives that will be built by this command for each geometry.Build an acceleration structure with some parameters provided on the device. |
| public static void | vkCmdBuildAccelerationStructuresIndirectKHR(VkCommandBuffer commandBuffer, VkAccelerationStructureBuildGeometryInfoKHR.
Array version of: |
| public static void | vkCmdBuildAccelerationStructuresKHR(VkCommandBuffer
the command buffer into which the command will be recorded. commandBuffer, VkAccelerationStructureBuildGeometryInfoKHR.a pointer to an array of pInfos,infoCount VkAccelerationStructureBuildGeometryInfoKHR structures defining the geometry used to build each acceleration structure.a pointer to an array of ppBuildRangeInfos)infoCount pointers to arrays of VkAccelerationStructureBuildRangeInfoKHR structures. Each ppBuildRangeInfos[i] is a pointer to an array of pInfos[i].geometryCount VkAccelerationStructureBuildRangeInfoKHR structures defining dynamic offsets to the addresses where geometry data is stored, as defined by pInfos[i].Build an acceleration structure. |
| public static void | vkCmdCopyAccelerationStructureKHR(VkCommandBuffer
the command buffer into which the command will be recorded. commandBuffer, VkCopyAccelerationStructureInfoKHR a pointer to a pInfo)VkCopyAccelerationStructureInfoKHR structure defining the copy operation.Copy an acceleration structure. |
| public static void | vkCmdCopyAccelerationStructureToMemoryKHR(VkCommandBuffer
the command buffer into which the command will be recorded. commandBuffer, VkCopyAccelerationStructureToMemoryInfoKHR an a pointer to a pInfo)VkCopyAccelerationStructureToMemoryInfoKHR structure defining the copy operation.Copy an acceleration structure to device memory. |
| public static void | vkCmdCopyMemoryToAccelerationStructureKHR(VkCommandBuffer
the command buffer into which the command will be recorded. commandBuffer, VkCopyMemoryToAccelerationStructureInfoKHR a pointer to a pInfo)VkCopyMemoryToAccelerationStructureInfoKHR structure defining the copy operation.Copy device memory to an acceleration structure. |
| public static void | vkCmdWriteAccelerationStructuresPropertiesKHR(VkCommandBuffer
the command buffer into which the command will be recorded. commandBuffer, LongBuffer a pointer to an array of existing previously built acceleration structures. pAccelerationStructures, int a queryType, long VkQueryType value specifying the type of queries managed by the pool.the query pool that will manage the results of the query. queryPool, int the first query index within the query pool that will contain the firstQuery)accelerationStructureCount number of results.Write acceleration structure result parameters to query results. |
| public static void | vkCmdWriteAccelerationStructuresPropertiesKHR(VkCommandBuffer commandBuffer, long[] pAccelerationStructures, int queryType, long queryPool, int firstQuery)
Array version of: |
| public static int | vkCopyAccelerationStructureKHR(VkDevice
the device which owns the acceleration structures. device, long an optional deferredOperation, VkCopyAccelerationStructureInfoKHR VkDeferredOperationKHR to request deferral for this command.a pointer to a pInfo)VkCopyAccelerationStructureInfoKHR structure defining the copy operation.Copy an acceleration structure on the host. |
| public static int | vkCopyAccelerationStructureToMemoryKHR(VkDevice
the device which owns device, long pInfo→src.an optional deferredOperation, VkCopyAccelerationStructureToMemoryInfoKHR VkDeferredOperationKHR to request deferral for this command.a pointer to a pInfo)VkCopyAccelerationStructureToMemoryInfoKHR structure defining the copy operation.Serialize an acceleration structure on the host. |
| public static int | vkCopyMemoryToAccelerationStructureKHR(VkDevice
the device which owns device, long pInfo→dst.an optional deferredOperation, VkCopyMemoryToAccelerationStructureInfoKHR VkDeferredOperationKHR to request deferral for this command.a pointer to a pInfo)VkCopyMemoryToAccelerationStructureInfoKHR structure defining the copy operation.Deserialize an acceleration structure on the host. |
| public static int | vkCreateAccelerationStructureKHR(VkDevice
the logical device that creates the acceleration structure object. device, VkAccelerationStructureCreateInfoKHR a pointer to a pCreateInfo, VkAllocationCallbacks VkAccelerationStructureCreateInfoKHR structure containing parameters affecting creation of the acceleration structure.controls host memory allocation as described in the Memory Allocation chapter. pAllocator, LongBuffer a pointer to a pAccelerationStructure)VkAccelerationStructureKHR handle in which the resulting acceleration structure object is returned.Create a new acceleration structure object. |
| public static int | vkCreateAccelerationStructureKHR(VkDevice device, VkAccelerationStructureCreateInfoKHR pCreateInfo, VkAllocationCallbacks pAllocator, long[] pAccelerationStructure)
Array version of: |
| public static void | vkDestroyAccelerationStructureKHR(VkDevice
the logical device that destroys the acceleration structure. device, long the acceleration structure to destroy. accelerationStructure, VkAllocationCallbacks controls host memory allocation as described in the Memory Allocation chapter. pAllocator)Destroy an acceleration structure object. |
| public static void | vkGetAccelerationStructureBuildSizesKHR(VkDevice
the logical device that will be used for creating the acceleration structure. device, int defines whether host or device operations (or both) are being queried for. buildType, VkAccelerationStructureBuildGeometryInfoKHR a pointer to a pBuildInfo, IntBuffer VkAccelerationStructureBuildGeometryInfoKHR structure describing parameters of a build operation.a pointer to an array of pMaxPrimitiveCounts, VkAccelerationStructureBuildSizesInfoKHR pBuildInfo→geometryCount uint32_t values defining the number of primitives built into each geometry.a pointer to a pSizeInfo)VkAccelerationStructureBuildSizesInfoKHR structure which returns the size required for an acceleration structure and the sizes required for the scratch buffers, given the build parameters.Retrieve the required size for an acceleration structure. |
| public static void | vkGetAccelerationStructureBuildSizesKHR(VkDevice device, int buildType, VkAccelerationStructureBuildGeometryInfoKHR pBuildInfo, int[] pMaxPrimitiveCounts, VkAccelerationStructureBuildSizesInfoKHR pSizeInfo)
Array version of: |
| public static long | vkGetAccelerationStructureDeviceAddressKHR(VkDevice
the logical device that the acceleration structure was created on. device, VkAccelerationStructureDeviceAddressInfoKHR a pointer to a pInfo)VkAccelerationStructureDeviceAddressInfoKHR structure specifying the acceleration structure to retrieve an address for.Query an address of a acceleration structure. |
| public static void | vkGetDeviceAccelerationStructureCompatibilityKHR(VkDevice
the device to check the version against. device, VkAccelerationStructureVersionInfoKHR a pointer to a pVersionInfo, IntBuffer VkAccelerationStructureVersionInfoKHR structure specifying version information to check against the device.a pointer to a pCompatibility)VkAccelerationStructureCompatibilityKHR value in which compatibility information is returned.Check if a serialized acceleration structure is compatible with the current device. |
| public static void | vkGetDeviceAccelerationStructureCompatibilityKHR(VkDevice device, VkAccelerationStructureVersionInfoKHR pVersionInfo, int[] pCompatibility)
Array version of: |
| public static int | vkWriteAccelerationStructuresPropertiesKHR(VkDevice
the device which owns the acceleration structures in device, LongBuffer pAccelerationStructures.a pointer to an array of existing previously built acceleration structures. pAccelerationStructures, int a queryType, ByteBuffer VkQueryType value specifying the property to be queried.a pointer to a user-allocated buffer where the results will be written. pData, long the stride in bytes between results for individual queries within stride)pData.Query acceleration structure meta-data on the host. |
| public static int | vkWriteAccelerationStructuresPropertiesKHR(VkDevice device, long[] pAccelerationStructures, int queryType, ByteBuffer pData, long stride)
Array version of: |