public class VkWriteDescriptorSetAccelerationStructureNV
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
accelerationStructureCount must be equal to descriptorCount in the extended structurepAccelerationStructures must have been created with ACCELERATION_STRUCTURE_TYPE_TOP_LEVEL_NVsType must be STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_ACCELERATION_STRUCTURE_NVpAccelerationStructures must be a valid pointer to an array of accelerationStructureCount valid VkAccelerationStructureNV handlesaccelerationStructureCount must be greater than 0sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.accelerationStructureCount – the number of elements in pAccelerationStructures.pAccelerationStructures – are the acceleration structures to update.
struct VkWriteDescriptorSetAccelerationStructureNV {
VkStructureType sType;
void const * pNext;
uint32_t accelerationStructureCount;
VkAccelerationStructureNV const * pAccelerationStructures;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkWriteDescriptorSetAccelerationStructureNV.Buffer
An array of
VkWriteDescriptorSetAccelerationStructureNV structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ACCELERATIONSTRUCTURECOUNT
The struct member offsets.
|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
PACCELERATIONSTRUCTURES
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkWriteDescriptorSetAccelerationStructureNV(java.nio.ByteBuffer container)
Creates a
VkWriteDescriptorSetAccelerationStructureNV instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
int |
accelerationStructureCount()
Returns the value of the
accelerationStructureCount field. |
static VkWriteDescriptorSetAccelerationStructureNV |
calloc()
Returns a new
VkWriteDescriptorSetAccelerationStructureNV instance allocated with memCalloc. |
static VkWriteDescriptorSetAccelerationStructureNV.Buffer |
calloc(int capacity)
Returns a new
VkWriteDescriptorSetAccelerationStructureNV.Buffer instance allocated with memCalloc. |
static VkWriteDescriptorSetAccelerationStructureNV |
callocStack()
Returns a new
VkWriteDescriptorSetAccelerationStructureNV instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkWriteDescriptorSetAccelerationStructureNV.Buffer |
callocStack(int capacity)
Returns a new
VkWriteDescriptorSetAccelerationStructureNV.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkWriteDescriptorSetAccelerationStructureNV.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkWriteDescriptorSetAccelerationStructureNV.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkWriteDescriptorSetAccelerationStructureNV |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkWriteDescriptorSetAccelerationStructureNV instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkWriteDescriptorSetAccelerationStructureNV |
create()
Returns a new
VkWriteDescriptorSetAccelerationStructureNV instance allocated with BufferUtils. |
static VkWriteDescriptorSetAccelerationStructureNV.Buffer |
create(int capacity)
Returns a new
VkWriteDescriptorSetAccelerationStructureNV.Buffer instance allocated with BufferUtils. |
static VkWriteDescriptorSetAccelerationStructureNV |
create(long address)
Returns a new
VkWriteDescriptorSetAccelerationStructureNV instance for the specified memory address. |
static VkWriteDescriptorSetAccelerationStructureNV.Buffer |
create(long address,
int capacity)
Create a
VkWriteDescriptorSetAccelerationStructureNV.Buffer instance at the specified memory. |
static VkWriteDescriptorSetAccelerationStructureNV |
createSafe(long address)
|
static VkWriteDescriptorSetAccelerationStructureNV.Buffer |
createSafe(long address,
int capacity)
|
static VkWriteDescriptorSetAccelerationStructureNV |
malloc()
Returns a new
VkWriteDescriptorSetAccelerationStructureNV instance allocated with memAlloc. |
static VkWriteDescriptorSetAccelerationStructureNV.Buffer |
malloc(int capacity)
Returns a new
VkWriteDescriptorSetAccelerationStructureNV.Buffer instance allocated with memAlloc. |
static VkWriteDescriptorSetAccelerationStructureNV |
mallocStack()
Returns a new
VkWriteDescriptorSetAccelerationStructureNV instance allocated on the thread-local MemoryStack. |
static VkWriteDescriptorSetAccelerationStructureNV.Buffer |
mallocStack(int capacity)
Returns a new
VkWriteDescriptorSetAccelerationStructureNV.Buffer instance allocated on the thread-local MemoryStack. |
static VkWriteDescriptorSetAccelerationStructureNV.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkWriteDescriptorSetAccelerationStructureNV.Buffer instance allocated on the specified MemoryStack. |
static VkWriteDescriptorSetAccelerationStructureNV |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkWriteDescriptorSetAccelerationStructureNV instance allocated on the specified MemoryStack. |
static int |
naccelerationStructureCount(long struct)
Unsafe version of
accelerationStructureCount(). |
static void |
naccelerationStructureCount(long struct,
int value)
Sets the specified value to the
accelerationStructureCount field of the specified struct. |
static java.nio.LongBuffer |
npAccelerationStructures(long struct)
Unsafe version of
pAccelerationStructures. |
static void |
npAccelerationStructures(long struct,
java.nio.LongBuffer value)
Unsafe version of
pAccelerationStructures. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
java.nio.LongBuffer |
pAccelerationStructures()
Returns a
LongBuffer view of the data pointed to by the pAccelerationStructures field. |
VkWriteDescriptorSetAccelerationStructureNV |
pAccelerationStructures(java.nio.LongBuffer value)
Sets the address of the specified
LongBuffer to the pAccelerationStructures field. |
long |
pNext()
Returns the value of the
pNext field. |
VkWriteDescriptorSetAccelerationStructureNV |
pNext(long value)
Sets the specified value to the
pNext field. |
VkWriteDescriptorSetAccelerationStructureNV |
set(int sType,
long pNext,
java.nio.LongBuffer pAccelerationStructures)
Initializes this struct with the specified values.
|
VkWriteDescriptorSetAccelerationStructureNV |
set(VkWriteDescriptorSetAccelerationStructureNV src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkWriteDescriptorSetAccelerationStructureNV |
sType(int value)
Sets the specified value to the
sType field. |
static void |
validate(long struct)
Validates pointer members that should not be
NULL. |
static void |
validate(long array,
int count)
Calls
validate(long) for each struct contained in the specified struct array. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int ACCELERATIONSTRUCTURECOUNT
public static final int PACCELERATIONSTRUCTURES
public VkWriteDescriptorSetAccelerationStructureNV(java.nio.ByteBuffer container)
VkWriteDescriptorSetAccelerationStructureNV instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be
visible to the struct instance and vice versa.
The created instance holds a strong reference to the container object.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic int sType()
sType field.public long pNext()
pNext field.public int accelerationStructureCount()
accelerationStructureCount field.public java.nio.LongBuffer pAccelerationStructures()
LongBuffer view of the data pointed to by the pAccelerationStructures field.public VkWriteDescriptorSetAccelerationStructureNV sType(int value)
sType field.public VkWriteDescriptorSetAccelerationStructureNV pNext(long value)
pNext field.public VkWriteDescriptorSetAccelerationStructureNV pAccelerationStructures(java.nio.LongBuffer value)
LongBuffer to the pAccelerationStructures field.public VkWriteDescriptorSetAccelerationStructureNV set(int sType, long pNext, java.nio.LongBuffer pAccelerationStructures)
public VkWriteDescriptorSetAccelerationStructureNV set(VkWriteDescriptorSetAccelerationStructureNV src)
src - the source structpublic static VkWriteDescriptorSetAccelerationStructureNV malloc()
VkWriteDescriptorSetAccelerationStructureNV instance allocated with memAlloc. The instance must be explicitly freed.public static VkWriteDescriptorSetAccelerationStructureNV calloc()
VkWriteDescriptorSetAccelerationStructureNV instance allocated with memCalloc. The instance must be explicitly freed.public static VkWriteDescriptorSetAccelerationStructureNV create()
VkWriteDescriptorSetAccelerationStructureNV instance allocated with BufferUtils.public static VkWriteDescriptorSetAccelerationStructureNV create(long address)
VkWriteDescriptorSetAccelerationStructureNV instance for the specified memory address.@Nullable public static VkWriteDescriptorSetAccelerationStructureNV createSafe(long address)
public static VkWriteDescriptorSetAccelerationStructureNV.Buffer malloc(int capacity)
VkWriteDescriptorSetAccelerationStructureNV.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkWriteDescriptorSetAccelerationStructureNV.Buffer calloc(int capacity)
VkWriteDescriptorSetAccelerationStructureNV.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkWriteDescriptorSetAccelerationStructureNV.Buffer create(int capacity)
VkWriteDescriptorSetAccelerationStructureNV.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkWriteDescriptorSetAccelerationStructureNV.Buffer create(long address, int capacity)
VkWriteDescriptorSetAccelerationStructureNV.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkWriteDescriptorSetAccelerationStructureNV.Buffer createSafe(long address, int capacity)
public static VkWriteDescriptorSetAccelerationStructureNV mallocStack()
VkWriteDescriptorSetAccelerationStructureNV instance allocated on the thread-local MemoryStack.public static VkWriteDescriptorSetAccelerationStructureNV callocStack()
VkWriteDescriptorSetAccelerationStructureNV instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkWriteDescriptorSetAccelerationStructureNV mallocStack(org.lwjgl.system.MemoryStack stack)
VkWriteDescriptorSetAccelerationStructureNV instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkWriteDescriptorSetAccelerationStructureNV callocStack(org.lwjgl.system.MemoryStack stack)
VkWriteDescriptorSetAccelerationStructureNV instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkWriteDescriptorSetAccelerationStructureNV.Buffer mallocStack(int capacity)
VkWriteDescriptorSetAccelerationStructureNV.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkWriteDescriptorSetAccelerationStructureNV.Buffer callocStack(int capacity)
VkWriteDescriptorSetAccelerationStructureNV.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkWriteDescriptorSetAccelerationStructureNV.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkWriteDescriptorSetAccelerationStructureNV.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkWriteDescriptorSetAccelerationStructureNV.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkWriteDescriptorSetAccelerationStructureNV.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static int nsType(long struct)
sType().public static long npNext(long struct)
pNext().public static int naccelerationStructureCount(long struct)
accelerationStructureCount().public static java.nio.LongBuffer npAccelerationStructures(long struct)
pAccelerationStructures.public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void naccelerationStructureCount(long struct,
int value)
accelerationStructureCount field of the specified struct.public static void npAccelerationStructures(long struct,
java.nio.LongBuffer value)
pAccelerationStructures.public static void validate(long struct)
NULL.struct - the struct to validatepublic static void validate(long array,
int count)
validate(long) for each struct contained in the specified struct array.array - the struct array to validatecount - the number of structs in arrayCopyright LWJGL. All Rights Reserved. License terms.