public class VkPhysicalDeviceRayTracingPropertiesNV
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
If the VkPhysicalDeviceRayTracingPropertiesNV structure is included in the pNext chain of VkPhysicalDeviceProperties2, it is filled with the implementation-dependent limits.
sType must be STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_PROPERTIES_NVsType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.shaderGroupHandleSize – size in bytes of the shader header.maxRecursionDepth – the maximum number of levels of recursion allowed in a trace command.maxShaderGroupStride – the maximum stride in bytes allowed between shader groups in the SBT.shaderGroupBaseAlignment – the required alignment in bytes for the base of the SBTs.maxGeometryCount – the maximum number of geometries in the bottom level acceleration structure.maxInstanceCount – the maximum number of instances in the top level acceleration structure.maxTriangleCount – the maximum number of triangles in all geometries in the bottom level acceleration structure.maxDescriptorSetAccelerationStructures – the maximum number of acceleration structure descriptors that are allowed in a descriptor set.
struct VkPhysicalDeviceRayTracingPropertiesNV {
VkStructureType sType;
void * pNext;
uint32_t shaderGroupHandleSize;
uint32_t maxRecursionDepth;
uint32_t maxShaderGroupStride;
uint32_t shaderGroupBaseAlignment;
uint64_t maxGeometryCount;
uint64_t maxInstanceCount;
uint64_t maxTriangleCount;
uint32_t maxDescriptorSetAccelerationStructures;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPhysicalDeviceRayTracingPropertiesNV.Buffer
An array of
VkPhysicalDeviceRayTracingPropertiesNV structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
MAXDESCRIPTORSETACCELERATIONSTRUCTURES
The struct member offsets.
|
static int |
MAXGEOMETRYCOUNT
The struct member offsets.
|
static int |
MAXINSTANCECOUNT
The struct member offsets.
|
static int |
MAXRECURSIONDEPTH
The struct member offsets.
|
static int |
MAXSHADERGROUPSTRIDE
The struct member offsets.
|
static int |
MAXTRIANGLECOUNT
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SHADERGROUPBASEALIGNMENT
The struct member offsets.
|
static int |
SHADERGROUPHANDLESIZE
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkPhysicalDeviceRayTracingPropertiesNV(java.nio.ByteBuffer container)
Creates a
VkPhysicalDeviceRayTracingPropertiesNV instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPhysicalDeviceRayTracingPropertiesNV |
calloc()
Returns a new
VkPhysicalDeviceRayTracingPropertiesNV instance allocated with memCalloc. |
static VkPhysicalDeviceRayTracingPropertiesNV.Buffer |
calloc(int capacity)
Returns a new
VkPhysicalDeviceRayTracingPropertiesNV.Buffer instance allocated with memCalloc. |
static VkPhysicalDeviceRayTracingPropertiesNV |
callocStack()
Returns a new
VkPhysicalDeviceRayTracingPropertiesNV instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceRayTracingPropertiesNV.Buffer |
callocStack(int capacity)
Returns a new
VkPhysicalDeviceRayTracingPropertiesNV.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceRayTracingPropertiesNV.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceRayTracingPropertiesNV.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceRayTracingPropertiesNV |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceRayTracingPropertiesNV instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceRayTracingPropertiesNV |
create()
Returns a new
VkPhysicalDeviceRayTracingPropertiesNV instance allocated with BufferUtils. |
static VkPhysicalDeviceRayTracingPropertiesNV.Buffer |
create(int capacity)
Returns a new
VkPhysicalDeviceRayTracingPropertiesNV.Buffer instance allocated with BufferUtils. |
static VkPhysicalDeviceRayTracingPropertiesNV |
create(long address)
Returns a new
VkPhysicalDeviceRayTracingPropertiesNV instance for the specified memory address. |
static VkPhysicalDeviceRayTracingPropertiesNV.Buffer |
create(long address,
int capacity)
Create a
VkPhysicalDeviceRayTracingPropertiesNV.Buffer instance at the specified memory. |
static VkPhysicalDeviceRayTracingPropertiesNV |
createSafe(long address)
|
static VkPhysicalDeviceRayTracingPropertiesNV.Buffer |
createSafe(long address,
int capacity)
|
static VkPhysicalDeviceRayTracingPropertiesNV |
malloc()
Returns a new
VkPhysicalDeviceRayTracingPropertiesNV instance allocated with memAlloc. |
static VkPhysicalDeviceRayTracingPropertiesNV.Buffer |
malloc(int capacity)
Returns a new
VkPhysicalDeviceRayTracingPropertiesNV.Buffer instance allocated with memAlloc. |
static VkPhysicalDeviceRayTracingPropertiesNV |
mallocStack()
Returns a new
VkPhysicalDeviceRayTracingPropertiesNV instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceRayTracingPropertiesNV.Buffer |
mallocStack(int capacity)
Returns a new
VkPhysicalDeviceRayTracingPropertiesNV.Buffer instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceRayTracingPropertiesNV.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceRayTracingPropertiesNV.Buffer instance allocated on the specified MemoryStack. |
static VkPhysicalDeviceRayTracingPropertiesNV |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceRayTracingPropertiesNV instance allocated on the specified MemoryStack. |
int |
maxDescriptorSetAccelerationStructures()
Returns the value of the
maxDescriptorSetAccelerationStructures field. |
long |
maxGeometryCount()
Returns the value of the
maxGeometryCount field. |
long |
maxInstanceCount()
Returns the value of the
maxInstanceCount field. |
int |
maxRecursionDepth()
Returns the value of the
maxRecursionDepth field. |
int |
maxShaderGroupStride()
Returns the value of the
maxShaderGroupStride field. |
long |
maxTriangleCount()
Returns the value of the
maxTriangleCount field. |
static int |
nmaxDescriptorSetAccelerationStructures(long struct)
Unsafe version of
maxDescriptorSetAccelerationStructures(). |
static long |
nmaxGeometryCount(long struct)
Unsafe version of
maxGeometryCount(). |
static long |
nmaxInstanceCount(long struct)
Unsafe version of
maxInstanceCount(). |
static int |
nmaxRecursionDepth(long struct)
Unsafe version of
maxRecursionDepth(). |
static int |
nmaxShaderGroupStride(long struct)
Unsafe version of
maxShaderGroupStride(). |
static long |
nmaxTriangleCount(long struct)
Unsafe version of
maxTriangleCount(). |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nshaderGroupBaseAlignment(long struct)
Unsafe version of
shaderGroupBaseAlignment(). |
static int |
nshaderGroupHandleSize(long struct)
Unsafe version of
shaderGroupHandleSize(). |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
long |
pNext()
Returns the value of the
pNext field. |
VkPhysicalDeviceRayTracingPropertiesNV |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPhysicalDeviceRayTracingPropertiesNV |
set(int sType,
long pNext)
Initializes this struct with the specified values.
|
VkPhysicalDeviceRayTracingPropertiesNV |
set(VkPhysicalDeviceRayTracingPropertiesNV src)
Copies the specified struct data to this struct.
|
int |
shaderGroupBaseAlignment()
Returns the value of the
shaderGroupBaseAlignment field. |
int |
shaderGroupHandleSize()
Returns the value of the
shaderGroupHandleSize field. |
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPhysicalDeviceRayTracingPropertiesNV |
sType(int value)
Sets the specified value to the
sType field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int SHADERGROUPHANDLESIZE
public static final int MAXRECURSIONDEPTH
public static final int MAXSHADERGROUPSTRIDE
public static final int SHADERGROUPBASEALIGNMENT
public static final int MAXGEOMETRYCOUNT
public static final int MAXINSTANCECOUNT
public static final int MAXTRIANGLECOUNT
public static final int MAXDESCRIPTORSETACCELERATIONSTRUCTURES
public VkPhysicalDeviceRayTracingPropertiesNV(java.nio.ByteBuffer container)
VkPhysicalDeviceRayTracingPropertiesNV 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 shaderGroupHandleSize()
shaderGroupHandleSize field.public int maxRecursionDepth()
maxRecursionDepth field.public int maxShaderGroupStride()
maxShaderGroupStride field.public int shaderGroupBaseAlignment()
shaderGroupBaseAlignment field.public long maxGeometryCount()
maxGeometryCount field.public long maxInstanceCount()
maxInstanceCount field.public long maxTriangleCount()
maxTriangleCount field.public int maxDescriptorSetAccelerationStructures()
maxDescriptorSetAccelerationStructures field.public VkPhysicalDeviceRayTracingPropertiesNV sType(int value)
sType field.public VkPhysicalDeviceRayTracingPropertiesNV pNext(long value)
pNext field.public VkPhysicalDeviceRayTracingPropertiesNV set(int sType, long pNext)
public VkPhysicalDeviceRayTracingPropertiesNV set(VkPhysicalDeviceRayTracingPropertiesNV src)
src - the source structpublic static VkPhysicalDeviceRayTracingPropertiesNV malloc()
VkPhysicalDeviceRayTracingPropertiesNV instance allocated with memAlloc. The instance must be explicitly freed.public static VkPhysicalDeviceRayTracingPropertiesNV calloc()
VkPhysicalDeviceRayTracingPropertiesNV instance allocated with memCalloc. The instance must be explicitly freed.public static VkPhysicalDeviceRayTracingPropertiesNV create()
VkPhysicalDeviceRayTracingPropertiesNV instance allocated with BufferUtils.public static VkPhysicalDeviceRayTracingPropertiesNV create(long address)
VkPhysicalDeviceRayTracingPropertiesNV instance for the specified memory address.@Nullable public static VkPhysicalDeviceRayTracingPropertiesNV createSafe(long address)
public static VkPhysicalDeviceRayTracingPropertiesNV.Buffer malloc(int capacity)
VkPhysicalDeviceRayTracingPropertiesNV.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceRayTracingPropertiesNV.Buffer calloc(int capacity)
VkPhysicalDeviceRayTracingPropertiesNV.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceRayTracingPropertiesNV.Buffer create(int capacity)
VkPhysicalDeviceRayTracingPropertiesNV.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPhysicalDeviceRayTracingPropertiesNV.Buffer create(long address, int capacity)
VkPhysicalDeviceRayTracingPropertiesNV.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPhysicalDeviceRayTracingPropertiesNV.Buffer createSafe(long address, int capacity)
public static VkPhysicalDeviceRayTracingPropertiesNV mallocStack()
VkPhysicalDeviceRayTracingPropertiesNV instance allocated on the thread-local MemoryStack.public static VkPhysicalDeviceRayTracingPropertiesNV callocStack()
VkPhysicalDeviceRayTracingPropertiesNV instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPhysicalDeviceRayTracingPropertiesNV mallocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceRayTracingPropertiesNV instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPhysicalDeviceRayTracingPropertiesNV callocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceRayTracingPropertiesNV instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPhysicalDeviceRayTracingPropertiesNV.Buffer mallocStack(int capacity)
VkPhysicalDeviceRayTracingPropertiesNV.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPhysicalDeviceRayTracingPropertiesNV.Buffer callocStack(int capacity)
VkPhysicalDeviceRayTracingPropertiesNV.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPhysicalDeviceRayTracingPropertiesNV.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceRayTracingPropertiesNV.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPhysicalDeviceRayTracingPropertiesNV.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceRayTracingPropertiesNV.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 nshaderGroupHandleSize(long struct)
shaderGroupHandleSize().public static int nmaxRecursionDepth(long struct)
maxRecursionDepth().public static int nmaxShaderGroupStride(long struct)
maxShaderGroupStride().public static int nshaderGroupBaseAlignment(long struct)
shaderGroupBaseAlignment().public static long nmaxGeometryCount(long struct)
maxGeometryCount().public static long nmaxInstanceCount(long struct)
maxInstanceCount().public static long nmaxTriangleCount(long struct)
maxTriangleCount().public static int nmaxDescriptorSetAccelerationStructures(long struct)
maxDescriptorSetAccelerationStructures().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.Copyright LWJGL. All Rights Reserved. License terms.