accelerationStructureCount must be equal to descriptorCount in the extended structurepAccelerationStructures must have been created with a type of ACCELERATION_STRUCTURE_TYPE_TOP_LEVEL_KHR or ACCELERATION_STRUCTURE_TYPE_GENERIC_KHRnullDescriptor feature is not enabled, each element of pAccelerationStructures must not be NULL_HANDLEsType must be STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_ACCELERATION_STRUCTURE_KHRpAccelerationStructures must be a valid pointer to an array of accelerationStructureCount valid or NULL_HANDLE VkAccelerationStructureKHR handlesaccelerationStructureCount must be greater than 0
struct VkWriteDescriptorSetAccelerationStructureKHR {
VkStructureType sType;
void const * pNext;
uint32_t accelerationStructureCount;
VkAccelerationStructureKHR const * pAccelerationStructures;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ACCELERATIONSTRUCTURECOUNT
The struct member offsets. |
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | PACCELERATIONSTRUCTURES
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 | VkWriteDescriptorSetAccelerationStructureKHR(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public VkWriteDescriptorSetAccelerationStructureKHR | accelerationStructureCount(int value)
Sets the specified value to the |
| public static VkWriteDescriptorSetAccelerationStructureKHR | |
| public static VkWriteDescriptorSetAccelerationStructureKHR. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkWriteDescriptorSetAccelerationStructureKHR | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkWriteDescriptorSetAccelerationStructureKHR. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected VkWriteDescriptorSetAccelerationStructureKHR | 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 VkWriteDescriptorSetAccelerationStructureKHR | create()
Returns a new |
| public static VkWriteDescriptorSetAccelerationStructureKHR | create(long address)
Returns a new |
| public static VkWriteDescriptorSetAccelerationStructureKHR. | create(int
the buffer capacity capacity)Returns a new |
| public static VkWriteDescriptorSetAccelerationStructureKHR. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkWriteDescriptorSetAccelerationStructureKHR | |
| public static VkWriteDescriptorSetAccelerationStructureKHR. | |
| public static VkWriteDescriptorSetAccelerationStructureKHR | |
| public static VkWriteDescriptorSetAccelerationStructureKHR. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkWriteDescriptorSetAccelerationStructureKHR | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkWriteDescriptorSetAccelerationStructureKHR. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static int | |
| public static void | naccelerationStructureCount(long struct, int value)
Sets the specified value to the |
| public static LongBuffer | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public LongBuffer | pAccelerationStructures()
a pointer to an array of |
| public VkWriteDescriptorSetAccelerationStructureKHR | pAccelerationStructures(LongBuffer value)
Sets the address of the specified |
| public long | |
| public VkWriteDescriptorSetAccelerationStructureKHR | |
| public VkWriteDescriptorSetAccelerationStructureKHR | set(int sType, long pNext, int accelerationStructureCount, LongBuffer pAccelerationStructures)
Initializes this struct with the specified values. |
| public VkWriteDescriptorSetAccelerationStructureKHR | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkWriteDescriptorSetAccelerationStructureKHR | |
| public VkWriteDescriptorSetAccelerationStructureKHR | sType$Default()
Sets the |
| ACCELERATIONSTRUCTURECOUNT | back to summary |
|---|---|
| public static final int ACCELERATIONSTRUCTURECOUNT The struct member offsets. | |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| PACCELERATIONSTRUCTURES | back to summary |
|---|---|
| public static final int PACCELERATIONSTRUCTURES 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. | |
| VkWriteDescriptorSetAccelerationStructureKHR | back to summary |
|---|---|
| protected VkWriteDescriptorSetAccelerationStructureKHR(long address, ByteBuffer container) | |
| VkWriteDescriptorSetAccelerationStructureKHR | back to summary |
|---|---|
| public VkWriteDescriptorSetAccelerationStructureKHR(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| accelerationStructureCount | back to summary |
|---|---|
| public int accelerationStructureCount() the number of elements in
| |
| accelerationStructureCount | back to summary |
|---|---|
| public VkWriteDescriptorSetAccelerationStructureKHR accelerationStructureCount(int value) Sets the specified value to the | |
| calloc | back to summary |
|---|---|
| public static VkWriteDescriptorSetAccelerationStructureKHR calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkWriteDescriptorSetAccelerationStructureKHR. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkWriteDescriptorSetAccelerationStructureKHR calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkWriteDescriptorSetAccelerationStructureKHR. Returns a new
| |
| create | back to summary |
|---|---|
| protected VkWriteDescriptorSetAccelerationStructureKHR create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkWriteDescriptorSetAccelerationStructureKHR create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkWriteDescriptorSetAccelerationStructureKHR create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkWriteDescriptorSetAccelerationStructureKHR. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkWriteDescriptorSetAccelerationStructureKHR. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkWriteDescriptorSetAccelerationStructureKHR createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkWriteDescriptorSetAccelerationStructureKHR. Like
| |
| malloc | back to summary |
|---|---|
| public static VkWriteDescriptorSetAccelerationStructureKHR malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkWriteDescriptorSetAccelerationStructureKHR. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkWriteDescriptorSetAccelerationStructureKHR malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkWriteDescriptorSetAccelerationStructureKHR. Returns a new
| |
| naccelerationStructureCount | back to summary |
|---|---|
| public static int naccelerationStructureCount(long struct) Unsafe version of | |
| naccelerationStructureCount | back to summary |
|---|---|
| public static void naccelerationStructureCount(long struct, int value) Sets the specified value to the | |
| npAccelerationStructures | back to summary |
|---|---|
| public static LongBuffer npAccelerationStructures(long struct) Unsafe version of
| |
| npAccelerationStructures | back to summary |
|---|---|
| public static void npAccelerationStructures(long struct, LongBuffer 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 | |
| pAccelerationStructures | back to summary |
|---|---|
| public LongBuffer pAccelerationStructures() a pointer to an array of
| |
| pAccelerationStructures | back to summary |
|---|---|
| public VkWriteDescriptorSetAccelerationStructureKHR pAccelerationStructures(LongBuffer value) Sets the address of the specified | |
| pNext | back to summary |
|---|---|
| public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkWriteDescriptorSetAccelerationStructureKHR pNext(long value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public VkWriteDescriptorSetAccelerationStructureKHR set(int sType, long pNext, int accelerationStructureCount, LongBuffer pAccelerationStructures) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkWriteDescriptorSetAccelerationStructureKHR set(VkWriteDescriptorSetAccelerationStructureKHR 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 VkWriteDescriptorSetAccelerationStructureKHR sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkWriteDescriptorSetAccelerationStructureKHR sType$Default() Sets the | |
VkWriteDescriptorSetAccelerationStructureKHR structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkWriteDescriptorSetAccelerationStructureKHR |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkWriteDescriptorSetAccelerationStructureKHR 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) | |
| accelerationStructureCount | back to summary |
|---|---|
public int accelerationStructureCount()
| |
| accelerationStructureCount | back to summary |
|---|---|
| public VkWriteDescriptorSetAccelerationStructureKHR. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected VkWriteDescriptorSetAccelerationStructureKHR getElementFactory() Implements abstract org.
| |
| pAccelerationStructures | back to summary |
|---|---|
public LongBuffer pAccelerationStructures()
| |
| pAccelerationStructures | back to summary |
|---|---|
| public VkWriteDescriptorSetAccelerationStructureKHR. Sets the address of the specified | |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkWriteDescriptorSetAccelerationStructureKHR. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected VkWriteDescriptorSetAccelerationStructureKHR. Implements abstract org.
| |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkWriteDescriptorSetAccelerationStructureKHR. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkWriteDescriptorSetAccelerationStructureKHR. Sets the | |