Class VkBindAccelerationStructureMemoryInfoNV

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer

    public class VkBindAccelerationStructureMemoryInfoNV
    extends Struct
    implements NativeResource
    Structure specifying acceleration structure memory binding.
    Valid Usage
    Valid Usage (Implicit)
    • pNext must be NULL
    • accelerationStructure must be a valid VkAccelerationStructureNV handle
    • memory must be a valid VkDeviceMemory handle
    • If deviceIndexCount is not 0, pDeviceIndices must be a valid pointer to an array of deviceIndexCount uint32_t values
    • Both of accelerationStructure, and memory must have been created, allocated, or retrieved from the same VkDevice
    See Also


    Member documentation

    • sType – the type of this structure.
    • pNextNULL or a pointer to an extension-specific structure.
    • accelerationStructure – the acceleration structure to be attached to memory.
    • memory – a VkDeviceMemory object describing the device memory to attach.
    • memoryOffset – the start offset of the region of memory that is to be bound to the acceleration structure. The number of bytes returned in the VkMemoryRequirements::size member in memory, starting from memoryOffset bytes, will be bound to the specified acceleration structure.
    • deviceIndexCount – the number of elements in pDeviceIndices.
    • pDeviceIndices – a pointer to an array of device indices.


     struct VkBindAccelerationStructureMemoryInfoNV {
         VkStructureType sType;
         void const * pNext;
         VkAccelerationStructureNV accelerationStructure;
         VkDeviceMemory memory;
         VkDeviceSize memoryOffset;
         uint32_t deviceIndexCount;
         uint32_t const * pDeviceIndices;