Class VkBindAccelerationStructureMemoryInfoNVX

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

    public class VkBindAccelerationStructureMemoryInfoNVX
    extends Struct
    implements NativeResource
    Structure specifying acceleration structure memory binding.
    Description
    Valid Usage (Implicit)
    • sType must be STRUCTURE_TYPE_BIND_ACCELERATION_STRUCTURE_MEMORY_INFO_NVX
    • pNext must be NULL
    • accelerationStructure must be a valid VkAccelerationStructureNVX 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

    BindAccelerationStructureMemoryNVX

    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 which 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.

    Layout

    
     struct VkBindAccelerationStructureMemoryInfoNVX {
         VkStructureType sType;
         void const * pNext;
         VkAccelerationStructureNVX accelerationStructure;
         VkDeviceMemory memory;
         VkDeviceSize memoryOffset;
         uint32_t deviceIndexCount;
         uint32_t const * pDeviceIndices;
     }