accelerationStructure must not already be backed by a memory objectmemoryOffset must be less than the size of memorymemory must have been allocated using one of the memory types allowed in the memoryTypeBits member of the VkMemoryRequirements structure returned from a call to GetAccelerationStructureMemoryRequirementsNV with accelerationStructure and type of ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_OBJECT_NVmemoryOffset must be an integer multiple of the alignment member of the VkMemoryRequirements structure returned from a call to GetAccelerationStructureMemoryRequirementsNV with accelerationStructure and type of ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_OBJECT_NVsize member of the VkMemoryRequirements structure returned from a call to GetAccelerationStructureMemoryRequirementsNV with accelerationStructure and type of ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_OBJECT_NV must be less than or equal to the size of memory minus memoryOffsetsType must be STRUCTURE_TYPE_BIND_ACCELERATION_STRUCTURE_MEMORY_INFO_NVpNext must be NULLaccelerationStructure must be a valid VkAccelerationStructureNV handlememory must be a valid VkDeviceMemory handledeviceIndexCount is not 0, pDeviceIndices must be a valid pointer to an array of deviceIndexCount uint32_t valuesaccelerationStructure, and memory must have been created, allocated, or retrieved from the same VkDeviceBindAccelerationStructureMemoryNV
struct VkBindAccelerationStructureMemoryInfoNV {
VkStructureType sType;
void const * pNext;
VkAccelerationStructureNV accelerationStructure;
VkDeviceMemory memory;
VkDeviceSize memoryOffset;
uint32_t deviceIndexCount;
uint32_t const * pDeviceIndices;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ACCELERATIONSTRUCTURE
The struct member offsets. |
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | DEVICEINDEXCOUNT
The struct member offsets. |
| public static final int | MEMORY
The struct member offsets. |
| public static final int | MEMORYOFFSET
The struct member offsets. |
| public static final int | PDEVICEINDICES
The struct member offsets. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkBindAccelerationStructureMemoryInfoNV(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public VkBindAccelerationStructureMemoryInfoNV | |
| public static VkBindAccelerationStructureMemoryInfoNV | |
| public static VkBindAccelerationStructureMemoryInfoNV. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkBindAccelerationStructureMemoryInfoNV | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkBindAccelerationStructureMemoryInfoNV. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkBindAccelerationStructureMemoryInfoNV | |
| public static VkBindAccelerationStructureMemoryInfoNV | |
| public static VkBindAccelerationStructureMemoryInfoNV. | |
| public static VkBindAccelerationStructureMemoryInfoNV. | |
| protected VkBindAccelerationStructureMemoryInfoNV | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static VkBindAccelerationStructureMemoryInfoNV | |
| public static VkBindAccelerationStructureMemoryInfoNV | create(long address)
Returns a new |
| public static VkBindAccelerationStructureMemoryInfoNV. | create(int
the buffer capacity capacity)Returns a new |
| public static VkBindAccelerationStructureMemoryInfoNV. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkBindAccelerationStructureMemoryInfoNV | |
| public static VkBindAccelerationStructureMemoryInfoNV. | |
| public int | |
| public static VkBindAccelerationStructureMemoryInfoNV | |
| public static VkBindAccelerationStructureMemoryInfoNV. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkBindAccelerationStructureMemoryInfoNV | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkBindAccelerationStructureMemoryInfoNV. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkBindAccelerationStructureMemoryInfoNV | |
| public static VkBindAccelerationStructureMemoryInfoNV | |
| public static VkBindAccelerationStructureMemoryInfoNV. | |
| public static VkBindAccelerationStructureMemoryInfoNV. | |
| public long | |
| public VkBindAccelerationStructureMemoryInfoNV | |
| public long | memoryOffset()
the start offset of the region of memory that is to be bound to the acceleration structure. |
| public VkBindAccelerationStructureMemoryInfoNV | |
| public static long | |
| public static void | |
| public static int | |
| public static void | ndeviceIndexCount(long struct, int value)
Sets the specified value to the |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static IntBuffer | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public IntBuffer | |
| public VkBindAccelerationStructureMemoryInfoNV | pDeviceIndices(IntBuffer value)
Sets the address of the specified |
| public long | |
| public VkBindAccelerationStructureMemoryInfoNV | |
| public VkBindAccelerationStructureMemoryInfoNV | |
| public VkBindAccelerationStructureMemoryInfoNV | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkBindAccelerationStructureMemoryInfoNV | |
| public VkBindAccelerationStructureMemoryInfoNV | sType$Default()
Sets the |
| public static void |
| ACCELERATIONSTRUCTURE | back to summary |
|---|---|
| public static final int ACCELERATIONSTRUCTURE The struct member offsets. | |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| DEVICEINDEXCOUNT | back to summary |
|---|---|
| public static final int DEVICEINDEXCOUNT The struct member offsets. | |
| MEMORY | back to summary |
|---|---|
| public static final int MEMORY The struct member offsets. | |
| MEMORYOFFSET | back to summary |
|---|---|
| public static final int MEMORYOFFSET The struct member offsets. | |
| PDEVICEINDICES | back to summary |
|---|---|
| public static final int PDEVICEINDICES The struct member offsets. | |
| PNEXT | back to summary |
|---|---|
| public static final int PNEXT The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| STYPE | back to summary |
|---|---|
| public static final int STYPE The struct member offsets. | |
| VkBindAccelerationStructureMemoryInfoNV | back to summary |
|---|---|
| protected VkBindAccelerationStructureMemoryInfoNV(long address, ByteBuffer container) | |
| VkBindAccelerationStructureMemoryInfoNV | back to summary |
|---|---|
| public VkBindAccelerationStructureMemoryInfoNV(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| accelerationStructure | back to summary |
|---|---|
| public long accelerationStructure() the acceleration structure to be attached to memory.
| |
| accelerationStructure | back to summary |
|---|---|
| public VkBindAccelerationStructureMemoryInfoNV accelerationStructure(long value) Sets the specified value to the | |
| calloc | back to summary |
|---|---|
| public static VkBindAccelerationStructureMemoryInfoNV calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkBindAccelerationStructureMemoryInfoNV. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkBindAccelerationStructureMemoryInfoNV calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkBindAccelerationStructureMemoryInfoNV. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static VkBindAccelerationStructureMemoryInfoNV callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkBindAccelerationStructureMemoryInfoNV callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkBindAccelerationStructureMemoryInfoNV. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkBindAccelerationStructureMemoryInfoNV. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected VkBindAccelerationStructureMemoryInfoNV create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkBindAccelerationStructureMemoryInfoNV create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkBindAccelerationStructureMemoryInfoNV create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkBindAccelerationStructureMemoryInfoNV. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkBindAccelerationStructureMemoryInfoNV. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkBindAccelerationStructureMemoryInfoNV createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkBindAccelerationStructureMemoryInfoNV. Like
| |
| deviceIndexCount | back to summary |
|---|---|
| public int deviceIndexCount() the number of elements in
| |
| malloc | back to summary |
|---|---|
| public static VkBindAccelerationStructureMemoryInfoNV malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkBindAccelerationStructureMemoryInfoNV. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkBindAccelerationStructureMemoryInfoNV malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkBindAccelerationStructureMemoryInfoNV. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static VkBindAccelerationStructureMemoryInfoNV mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkBindAccelerationStructureMemoryInfoNV mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkBindAccelerationStructureMemoryInfoNV. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkBindAccelerationStructureMemoryInfoNV. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| memory | back to summary |
|---|---|
| public long memory() a
| |
| memory | back to summary |
|---|---|
| public VkBindAccelerationStructureMemoryInfoNV memory(long value) Sets the specified value to the | |
| memoryOffset | back to summary |
|---|---|
| public long 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
| |
| memoryOffset | back to summary |
|---|---|
| public VkBindAccelerationStructureMemoryInfoNV memoryOffset(long value) Sets the specified value to the | |
| naccelerationStructure | back to summary |
|---|---|
| public static long naccelerationStructure(long struct) Unsafe version of | |
| naccelerationStructure | back to summary |
|---|---|
| public static void naccelerationStructure(long struct, long value) Unsafe version of | |
| ndeviceIndexCount | back to summary |
|---|---|
| public static int ndeviceIndexCount(long struct) Unsafe version of | |
| ndeviceIndexCount | back to summary |
|---|---|
| public static void ndeviceIndexCount(long struct, int value) Sets the specified value to the | |
| nmemory | back to summary |
|---|---|
| public static long nmemory(long struct) Unsafe version of | |
| nmemory | back to summary |
|---|---|
| public static void nmemory(long struct, long value) Unsafe version of | |
| nmemoryOffset | back to summary |
|---|---|
| public static long nmemoryOffset(long struct) Unsafe version of | |
| nmemoryOffset | back to summary |
|---|---|
| public static void nmemoryOffset(long struct, long value) Unsafe version of | |
| npDeviceIndices | back to summary |
|---|---|
| public static IntBuffer npDeviceIndices(long struct) Unsafe version of
| |
| npDeviceIndices | back to summary |
|---|---|
| public static void npDeviceIndices(long struct, IntBuffer value) Unsafe version of | |
| npNext | back to summary |
|---|---|
| public static long npNext(long struct) Unsafe version of | |
| npNext | back to summary |
|---|---|
| public static void npNext(long struct, long value) Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static int nsType(long struct) Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static void nsType(long struct, int value) Unsafe version of | |
| pDeviceIndices | back to summary |
|---|---|
| public IntBuffer pDeviceIndices() a pointer to an array of device indices.
| |
| pDeviceIndices | back to summary |
|---|---|
| public VkBindAccelerationStructureMemoryInfoNV pDeviceIndices(IntBuffer value) Sets the address of the specified | |
| pNext | back to summary |
|---|---|
| public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkBindAccelerationStructureMemoryInfoNV pNext(long value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public VkBindAccelerationStructureMemoryInfoNV set(int sType, long pNext, long accelerationStructure, long memory, long memoryOffset, IntBuffer pDeviceIndices) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkBindAccelerationStructureMemoryInfoNV set(VkBindAccelerationStructureMemoryInfoNV src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| sType | back to summary |
|---|---|
| public int sType() a
| |
| sType | back to summary |
|---|---|
| public VkBindAccelerationStructureMemoryInfoNV sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkBindAccelerationStructureMemoryInfoNV sType$Default() Sets the | |
| validate | back to summary |
|---|---|
| public static void validate(long struct) Validates pointer members that should not be
| |
VkBindAccelerationStructureMemoryInfoNV structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkBindAccelerationStructureMemoryInfoNV |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkBindAccelerationStructureMemoryInfoNV ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| accelerationStructure | back to summary |
|---|---|
public long accelerationStructure()
| |
| accelerationStructure | back to summary |
|---|---|
| public VkBindAccelerationStructureMemoryInfoNV. Sets the specified value to the | |
| deviceIndexCount | back to summary |
|---|---|
public int deviceIndexCount()
| |
| getElementFactory | back to summary |
|---|---|
| protected VkBindAccelerationStructureMemoryInfoNV getElementFactory() Implements abstract org.
| |
| memory | back to summary |
|---|---|
public long memory()
| |
| memory | back to summary |
|---|---|
| public VkBindAccelerationStructureMemoryInfoNV. Sets the specified value to the | |
| memoryOffset | back to summary |
|---|---|
public long memoryOffset()
| |
| memoryOffset | back to summary |
|---|---|
| public VkBindAccelerationStructureMemoryInfoNV. Sets the specified value to the | |
| pDeviceIndices | back to summary |
|---|---|
public IntBuffer pDeviceIndices()
| |
| pDeviceIndices | back to summary |
|---|---|
| public VkBindAccelerationStructureMemoryInfoNV. Sets the address of the specified | |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkBindAccelerationStructureMemoryInfoNV. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected VkBindAccelerationStructureMemoryInfoNV. Implements abstract org.
| |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkBindAccelerationStructureMemoryInfoNV. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkBindAccelerationStructureMemoryInfoNV. Sets the | |