Package org.lwjgl.vulkan
Class VkPhysicalDeviceRayTracingPipelinePropertiesKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceRayTracingPipelinePropertiesKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceRayTracingPipelinePropertiesKHR extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceProperties of the physical device for ray tracing.Description
If the
VkPhysicalDeviceRayTracingPipelinePropertiesKHRstructure is included in thepNextchain of theVkPhysicalDeviceProperties2structure passed toGetPhysicalDeviceProperties2, it is filled in with each corresponding implementation-dependent property.Limits specified by this structure must match those specified with the same name in
VkPhysicalDeviceRayTracingPropertiesNV.Valid Usage (Implicit)
Layout
struct VkPhysicalDeviceRayTracingPipelinePropertiesKHR { VkStructureTypesType(); void *pNext(); uint32_tshaderGroupHandleSize(); uint32_tmaxRayRecursionDepth(); uint32_tmaxShaderGroupStride(); uint32_tshaderGroupBaseAlignment(); uint32_tshaderGroupHandleCaptureReplaySize(); uint32_tmaxRayDispatchInvocationCount(); uint32_tshaderGroupHandleAlignment(); uint32_tmaxRayHitAttributeSize(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceRayTracingPipelinePropertiesKHR.BufferAn array ofVkPhysicalDeviceRayTracingPipelinePropertiesKHRstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intMAXRAYDISPATCHINVOCATIONCOUNT
MAXRAYHITATTRIBUTESIZE
MAXRAYRECURSIONDEPTH
MAXSHADERGROUPSTRIDE
PNEXT
SHADERGROUPBASEALIGNMENT
SHADERGROUPHANDLEALIGNMENT
SHADERGROUPHANDLECAPTUREREPLAYSIZE
SHADERGROUPHANDLESIZEThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceRayTracingPipelinePropertiesKHR(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceRayTracingPipelinePropertiesKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceRayTracingPipelinePropertiesKHRcalloc()Returns a newVkPhysicalDeviceRayTracingPipelinePropertiesKHRinstance allocated withmemCalloc.static VkPhysicalDeviceRayTracingPipelinePropertiesKHR.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceRayTracingPipelinePropertiesKHR.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceRayTracingPipelinePropertiesKHR.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceRayTracingPipelinePropertiesKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceRayTracingPipelinePropertiesKHRcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceRayTracingPipelinePropertiesKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceRayTracingPipelinePropertiesKHRcreate()Returns a newVkPhysicalDeviceRayTracingPipelinePropertiesKHRinstance allocated withBufferUtils.static VkPhysicalDeviceRayTracingPipelinePropertiesKHR.Buffercreate(int capacity)Returns a newVkPhysicalDeviceRayTracingPipelinePropertiesKHR.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceRayTracingPipelinePropertiesKHRcreate(long address)Returns a newVkPhysicalDeviceRayTracingPipelinePropertiesKHRinstance for the specified memory address.static VkPhysicalDeviceRayTracingPipelinePropertiesKHR.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceRayTracingPipelinePropertiesKHR.Bufferinstance at the specified memory.static VkPhysicalDeviceRayTracingPipelinePropertiesKHRcreateSafe(long address)static VkPhysicalDeviceRayTracingPipelinePropertiesKHR.BuffercreateSafe(long address, int capacity)static VkPhysicalDeviceRayTracingPipelinePropertiesKHRmalloc()Returns a newVkPhysicalDeviceRayTracingPipelinePropertiesKHRinstance allocated withmemAlloc.static VkPhysicalDeviceRayTracingPipelinePropertiesKHR.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceRayTracingPipelinePropertiesKHR.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceRayTracingPipelinePropertiesKHR.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceRayTracingPipelinePropertiesKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceRayTracingPipelinePropertiesKHRmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceRayTracingPipelinePropertiesKHRinstance allocated on the specifiedMemoryStack.intmaxRayDispatchInvocationCount()the maximum number of ray generation shader invocations which may be produced by a singleCmdTraceRaysIndirectKHRorCmdTraceRaysKHRcommand.intmaxRayHitAttributeSize()the maximum size in bytes for a ray attribute structureintmaxRayRecursionDepth()the maximum number of levels of ray recursion allowed in a trace command.intmaxShaderGroupStride()the maximum stride in bytes allowed between shader groups in the shader binding table.static intnmaxRayDispatchInvocationCount(long struct)Unsafe version ofmaxRayDispatchInvocationCount().static intnmaxRayHitAttributeSize(long struct)Unsafe version ofmaxRayHitAttributeSize().static intnmaxRayRecursionDepth(long struct)Unsafe version ofmaxRayRecursionDepth().static intnmaxShaderGroupStride(long struct)Unsafe version ofmaxShaderGroupStride().static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static intnshaderGroupBaseAlignment(long struct)Unsafe version ofshaderGroupBaseAlignment().static intnshaderGroupHandleAlignment(long struct)Unsafe version ofshaderGroupHandleAlignment().static intnshaderGroupHandleCaptureReplaySize(long struct)Unsafe version ofshaderGroupHandleCaptureReplaySize().static intnshaderGroupHandleSize(long struct)Unsafe version ofshaderGroupHandleSize().static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.longpNext()NULLor a pointer to a structure extending this structure.VkPhysicalDeviceRayTracingPipelinePropertiesKHRpNext(long value)Sets the specified value to thepNext()field.VkPhysicalDeviceRayTracingPipelinePropertiesKHRset(int sType, long pNext)Initializes this struct with the specified values.VkPhysicalDeviceRayTracingPipelinePropertiesKHRset(VkPhysicalDeviceRayTracingPipelinePropertiesKHR src)Copies the specified struct data to this struct.intshaderGroupBaseAlignment()the required alignment in bytes for the base of the shader binding table.intshaderGroupHandleAlignment()the required alignment in bytes for each shader binding table entry.intshaderGroupHandleCaptureReplaySize()the number of bytes for the information required to do capture and replay for shader group handles.intshaderGroupHandleSize()the size in bytes of the shader header.intsizeof()intsType()the type of this structure.VkPhysicalDeviceRayTracingPipelinePropertiesKHRsType(int value)Sets the specified value to thesType()field.VkPhysicalDeviceRayTracingPipelinePropertiesKHRsType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_PIPELINE_PROPERTIES_KHRvalue to thesType()field.
-
-
-
Field Detail
-
SIZEOF
The struct size in bytes.
-
ALIGNOF
The struct alignment in bytes.
-
STYPE, PNEXT, SHADERGROUPHANDLESIZE, MAXRAYRECURSIONDEPTH, MAXSHADERGROUPSTRIDE, SHADERGROUPBASEALIGNMENT, SHADERGROUPHANDLECAPTUREREPLAYSIZE, MAXRAYDISPATCHINVOCATIONCOUNT, SHADERGROUPHANDLEALIGNMENT, MAXRAYHITATTRIBUTESIZE
The struct member offsets.
-
-
Constructor Detail
-
VkPhysicalDeviceRayTracingPipelinePropertiesKHR
public VkPhysicalDeviceRayTracingPipelinePropertiesKHR(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceRayTracingPipelinePropertiesKHRinstance at the current position of the specifiedByteBuffercontainer. 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.
-
-
Method Detail
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
sType
public int sType()
the type of this structure.
-
pNext
public long pNext()
NULLor a pointer to a structure extending this structure.
-
shaderGroupHandleSize
public int shaderGroupHandleSize()
the size in bytes of the shader header.
-
maxRayRecursionDepth
public int maxRayRecursionDepth()
the maximum number of levels of ray recursion allowed in a trace command.
-
maxShaderGroupStride
public int maxShaderGroupStride()
the maximum stride in bytes allowed between shader groups in the shader binding table.
-
shaderGroupBaseAlignment
public int shaderGroupBaseAlignment()
the required alignment in bytes for the base of the shader binding table.
-
shaderGroupHandleCaptureReplaySize
public int shaderGroupHandleCaptureReplaySize()
the number of bytes for the information required to do capture and replay for shader group handles.
-
maxRayDispatchInvocationCount
public int maxRayDispatchInvocationCount()
the maximum number of ray generation shader invocations which may be produced by a singleCmdTraceRaysIndirectKHRorCmdTraceRaysKHRcommand.
-
shaderGroupHandleAlignment
public int shaderGroupHandleAlignment()
the required alignment in bytes for each shader binding table entry. The value must be a power of two.
-
maxRayHitAttributeSize
public int maxRayHitAttributeSize()
the maximum size in bytes for a ray attribute structure
-
sType
public VkPhysicalDeviceRayTracingPipelinePropertiesKHR sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkPhysicalDeviceRayTracingPipelinePropertiesKHR sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_PIPELINE_PROPERTIES_KHRvalue to thesType()field.
-
pNext
public VkPhysicalDeviceRayTracingPipelinePropertiesKHR pNext(long value)
Sets the specified value to thepNext()field.
-
set
public VkPhysicalDeviceRayTracingPipelinePropertiesKHR set(int sType, long pNext)
Initializes this struct with the specified values.
-
set
public VkPhysicalDeviceRayTracingPipelinePropertiesKHR set(VkPhysicalDeviceRayTracingPipelinePropertiesKHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceRayTracingPipelinePropertiesKHR malloc()
Returns a newVkPhysicalDeviceRayTracingPipelinePropertiesKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceRayTracingPipelinePropertiesKHR calloc()
Returns a newVkPhysicalDeviceRayTracingPipelinePropertiesKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceRayTracingPipelinePropertiesKHR create()
Returns a newVkPhysicalDeviceRayTracingPipelinePropertiesKHRinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceRayTracingPipelinePropertiesKHR create(long address)
Returns a newVkPhysicalDeviceRayTracingPipelinePropertiesKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceRayTracingPipelinePropertiesKHR createSafe(long address)
-
malloc
public static VkPhysicalDeviceRayTracingPipelinePropertiesKHR.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceRayTracingPipelinePropertiesKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceRayTracingPipelinePropertiesKHR.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceRayTracingPipelinePropertiesKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceRayTracingPipelinePropertiesKHR.Buffer create(int capacity)
Returns a newVkPhysicalDeviceRayTracingPipelinePropertiesKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceRayTracingPipelinePropertiesKHR.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceRayTracingPipelinePropertiesKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceRayTracingPipelinePropertiesKHR.Buffer createSafe(long address, int capacity)
-
malloc
public static VkPhysicalDeviceRayTracingPipelinePropertiesKHR malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceRayTracingPipelinePropertiesKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceRayTracingPipelinePropertiesKHR calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceRayTracingPipelinePropertiesKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceRayTracingPipelinePropertiesKHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceRayTracingPipelinePropertiesKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceRayTracingPipelinePropertiesKHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceRayTracingPipelinePropertiesKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nsType
public static int nsType(long struct)
Unsafe version ofsType().
-
npNext
public static long npNext(long struct)
Unsafe version ofpNext().
-
nshaderGroupHandleSize
public static int nshaderGroupHandleSize(long struct)
Unsafe version ofshaderGroupHandleSize().
-
nmaxRayRecursionDepth
public static int nmaxRayRecursionDepth(long struct)
Unsafe version ofmaxRayRecursionDepth().
-
nmaxShaderGroupStride
public static int nmaxShaderGroupStride(long struct)
Unsafe version ofmaxShaderGroupStride().
-
nshaderGroupBaseAlignment
public static int nshaderGroupBaseAlignment(long struct)
Unsafe version ofshaderGroupBaseAlignment().
-
nshaderGroupHandleCaptureReplaySize
public static int nshaderGroupHandleCaptureReplaySize(long struct)
Unsafe version ofshaderGroupHandleCaptureReplaySize().
-
nmaxRayDispatchInvocationCount
public static int nmaxRayDispatchInvocationCount(long struct)
Unsafe version ofmaxRayDispatchInvocationCount().
-
nshaderGroupHandleAlignment
public static int nshaderGroupHandleAlignment(long struct)
Unsafe version ofshaderGroupHandleAlignment().
-
nmaxRayHitAttributeSize
public static int nmaxRayHitAttributeSize(long struct)
Unsafe version ofmaxRayHitAttributeSize().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
-