Package org.lwjgl.vulkan
Class VkTraceRaysIndirectCommand2KHR
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkTraceRaysIndirectCommand2KHR>
org.lwjgl.vulkan.VkTraceRaysIndirectCommand2KHR
- All Implemented Interfaces:
AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkTraceRaysIndirectCommand2KHR
extends org.lwjgl.system.Struct<VkTraceRaysIndirectCommand2KHR>
implements org.lwjgl.system.NativeResource
Structure specifying the parameters of an indirect trace ray command with indirect shader binding tables.
Description
The members of VkTraceRaysIndirectCommand2KHR have the same meaning as the similarly named parameters of CmdTraceRaysKHR.
Indirect shader binding table buffer parameters must satisfy the same memory alignment and binding requirements as their counterparts in CmdTraceRaysIndirectKHR and CmdTraceRaysKHR.
Valid Usage
- If the buffer from which
raygenShaderRecordAddresswas queried is non-sparse then it must be bound completely and contiguously to a singleVkDeviceMemoryobject - The buffer from which the
raygenShaderRecordAddressis queried must have been created with theBUFFER_USAGE_SHADER_BINDING_TABLE_BIT_KHRusage flag raygenShaderRecordAddressmust be a multiple ofVkPhysicalDeviceRayTracingPipelinePropertiesKHR::shaderGroupBaseAlignment- If the buffer from which
missShaderBindingTableAddresswas queried is non-sparse then it must be bound completely and contiguously to a singleVkDeviceMemoryobject - The buffer from which the
missShaderBindingTableAddressis queried must have been created with theBUFFER_USAGE_SHADER_BINDING_TABLE_BIT_KHRusage flag missShaderBindingTableAddressmust be a multiple ofVkPhysicalDeviceRayTracingPipelinePropertiesKHR::shaderGroupBaseAlignmentmissShaderBindingTableStridemust be a multiple ofVkPhysicalDeviceRayTracingPipelinePropertiesKHR::shaderGroupHandleAlignmentmissShaderBindingTableStridemust be less than or equal toVkPhysicalDeviceRayTracingPipelinePropertiesKHR::maxShaderGroupStride- If the buffer from which
hitShaderBindingTableAddresswas queried is non-sparse then it must be bound completely and contiguously to a singleVkDeviceMemoryobject - The buffer from which the
hitShaderBindingTableAddressis queried must have been created with theBUFFER_USAGE_SHADER_BINDING_TABLE_BIT_KHRusage flag hitShaderBindingTableAddressmust be a multiple ofVkPhysicalDeviceRayTracingPipelinePropertiesKHR::shaderGroupBaseAlignmenthitShaderBindingTableStridemust be a multiple ofVkPhysicalDeviceRayTracingPipelinePropertiesKHR::shaderGroupHandleAlignmenthitShaderBindingTableStridemust be less than or equal toVkPhysicalDeviceRayTracingPipelinePropertiesKHR::maxShaderGroupStride- If the buffer from which
callableShaderBindingTableAddresswas queried is non-sparse then it must be bound completely and contiguously to a singleVkDeviceMemoryobject - The buffer from which the
callableShaderBindingTableAddressis queried must have been created with theBUFFER_USAGE_SHADER_BINDING_TABLE_BIT_KHRusage flag callableShaderBindingTableAddressmust be a multiple ofVkPhysicalDeviceRayTracingPipelinePropertiesKHR::shaderGroupBaseAlignmentcallableShaderBindingTableStridemust be a multiple ofVkPhysicalDeviceRayTracingPipelinePropertiesKHR::shaderGroupHandleAlignmentcallableShaderBindingTableStridemust be less than or equal toVkPhysicalDeviceRayTracingPipelinePropertiesKHR::maxShaderGroupStride- If the bound ray tracing pipeline was created with
flagsthat includedPIPELINE_CREATE_RAY_TRACING_NO_NULL_CLOSEST_HIT_SHADERS_BIT_KHR,hitShaderBindingTableAddressmust not be zero - If the bound ray tracing pipeline was created with
flagsthat includedPIPELINE_CREATE_RAY_TRACING_NO_NULL_INTERSECTION_SHADERS_BIT_KHR,hitShaderBindingTableAddressmust not be zero - If the bound ray tracing pipeline was created with
flagsthat includedPIPELINE_CREATE_RAY_TRACING_NO_NULL_MISS_SHADERS_BIT_KHR, the shader group handle identified bymissShaderBindingTableAddressmust not be zero - If the bound ray tracing pipeline was created with
flagsthat includedPIPELINE_CREATE_RAY_TRACING_NO_NULL_ANY_HIT_SHADERS_BIT_KHR, entries in the table identified byhitShaderBindingTableAddressaccessed as a result of this command in order to execute an any-hit shader must not be zero - If the bound ray tracing pipeline was created with
flagsthat includedPIPELINE_CREATE_RAY_TRACING_NO_NULL_CLOSEST_HIT_SHADERS_BIT_KHR, entries in the table identified byhitShaderBindingTableAddressaccessed as a result of this command in order to execute a closest hit shader must not be zero - If the bound ray tracing pipeline was created with
flagsthat includedPIPELINE_CREATE_RAY_TRACING_NO_NULL_INTERSECTION_SHADERS_BIT_KHR, entries in the table identified byhitShaderBindingTableAddressaccessed as a result of this command in order to execute an intersection shader must not be zero - Any non-zero hit shader group entries in the table identified by
hitShaderBindingTableAddressaccessed by this call from a geometry with ageometryTypeofGEOMETRY_TYPE_TRIANGLES_KHRmust have been created withRAY_TRACING_SHADER_GROUP_TYPE_TRIANGLES_HIT_GROUP_KHR - Any non-zero hit shader group entries in the table identified by
hitShaderBindingTableAddressaccessed by this call from a geometry with ageometryTypeofGEOMETRY_TYPE_AABBS_KHRmust have been created withRAY_TRACING_SHADER_GROUP_TYPE_PROCEDURAL_HIT_GROUP_KHR
widthmust be less than or equal toVkPhysicalDeviceLimits::maxComputeWorkGroupCount[0] ×VkPhysicalDeviceLimits::maxComputeWorkGroupSize[0]heightmust be less than or equal toVkPhysicalDeviceLimits::maxComputeWorkGroupCount[1] ×VkPhysicalDeviceLimits::maxComputeWorkGroupSize[1]depthmust be less than or equal toVkPhysicalDeviceLimits::maxComputeWorkGroupCount[2] ×VkPhysicalDeviceLimits::maxComputeWorkGroupSize[2]width × height × depthmust be less than or equal toVkPhysicalDeviceRayTracingPipelinePropertiesKHR::maxRayDispatchInvocationCount
Layout
struct VkTraceRaysIndirectCommand2KHR {
VkDeviceAddress raygenShaderRecordAddress();
VkDeviceSize raygenShaderRecordSize();
VkDeviceAddress missShaderBindingTableAddress();
VkDeviceSize missShaderBindingTableSize();
VkDeviceSize missShaderBindingTableStride();
VkDeviceAddress hitShaderBindingTableAddress();
VkDeviceSize hitShaderBindingTableSize();
VkDeviceSize hitShaderBindingTableStride();
VkDeviceAddress callableShaderBindingTableAddress();
VkDeviceSize callableShaderBindingTableSize();
VkDeviceSize callableShaderBindingTableStride();
uint32_t width();
uint32_t height();
uint32_t depth();
}-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAn array ofVkTraceRaysIndirectCommand2KHRstructs.Nested classes/interfaces inherited from class org.lwjgl.system.Struct
org.lwjgl.system.Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
org.lwjgl.system.Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.static final intThe struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionVkTraceRaysIndirectCommand2KHR(ByteBuffer container) Creates aVkTraceRaysIndirectCommand2KHRinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionlongaVkDeviceAddressof the first record in the callable shader binding table used by this command.callableShaderBindingTableAddress(long value) Sets the specified value to thecallableShaderBindingTableAddress()field.longaVkDeviceSizenumber of bytes corresponding to the total size of the callable shader binding table atcallableShaderBindingTableAddressthat may be accessed by this command.callableShaderBindingTableSize(long value) Sets the specified value to thecallableShaderBindingTableSize()field.longaVkDeviceSizenumber of bytes between records of the callable shader binding table.callableShaderBindingTableStride(long value) Sets the specified value to thecallableShaderBindingTableStride()field.calloc()Returns a newVkTraceRaysIndirectCommand2KHRinstance allocated withmemCalloc.calloc(int capacity) Returns a newVkTraceRaysIndirectCommand2KHR.Bufferinstance allocated withmemCalloc.calloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newVkTraceRaysIndirectCommand2KHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.calloc(org.lwjgl.system.MemoryStack stack) Returns a newVkTraceRaysIndirectCommand2KHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.create()Returns a newVkTraceRaysIndirectCommand2KHRinstance allocated withBufferUtils.create(int capacity) Returns a newVkTraceRaysIndirectCommand2KHR.Bufferinstance allocated withBufferUtils.create(long address) Returns a newVkTraceRaysIndirectCommand2KHRinstance for the specified memory address.create(long address, int capacity) Create aVkTraceRaysIndirectCommand2KHR.Bufferinstance at the specified memory.static @Nullable VkTraceRaysIndirectCommand2KHRcreateSafe(long address) static @Nullable VkTraceRaysIndirectCommand2KHR.BuffercreateSafe(long address, int capacity) intdepth()depth of the ray trace query dimensions.depth(int value) Sets the specified value to thedepth()field.intheight()height of the ray trace query dimensions.height(int value) Sets the specified value to theheight()field.longaVkDeviceAddressof the first record in the hit shader binding table used by this command.hitShaderBindingTableAddress(long value) Sets the specified value to thehitShaderBindingTableAddress()field.longaVkDeviceSizenumber of bytes corresponding to the total size of the hit shader binding table athitShaderBindingTableAddressthat may be accessed by this command.hitShaderBindingTableSize(long value) Sets the specified value to thehitShaderBindingTableSize()field.longaVkDeviceSizenumber of bytes between records of the hit shader binding table.hitShaderBindingTableStride(long value) Sets the specified value to thehitShaderBindingTableStride()field.malloc()Returns a newVkTraceRaysIndirectCommand2KHRinstance allocated withmemAlloc.malloc(int capacity) Returns a newVkTraceRaysIndirectCommand2KHR.Bufferinstance allocated withmemAlloc.malloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newVkTraceRaysIndirectCommand2KHR.Bufferinstance allocated on the specifiedMemoryStack.malloc(org.lwjgl.system.MemoryStack stack) Returns a newVkTraceRaysIndirectCommand2KHRinstance allocated on the specifiedMemoryStack.longaVkDeviceAddressof the first record in the miss shader binding table used by this command.missShaderBindingTableAddress(long value) Sets the specified value to themissShaderBindingTableAddress()field.longaVkDeviceSizenumber of bytes corresponding to the total size of the miss shader binding table atmissShaderBindingTableAddressthat may be accessed by this command.missShaderBindingTableSize(long value) Sets the specified value to themissShaderBindingTableSize()field.longaVkDeviceSizenumber of bytes between records of the miss shader binding table.missShaderBindingTableStride(long value) Sets the specified value to themissShaderBindingTableStride()field.static longncallableShaderBindingTableAddress(long struct) Unsafe version ofcallableShaderBindingTableAddress().static voidncallableShaderBindingTableAddress(long struct, long value) Unsafe version ofcallableShaderBindingTableAddress.static longncallableShaderBindingTableSize(long struct) Unsafe version ofcallableShaderBindingTableSize().static voidncallableShaderBindingTableSize(long struct, long value) Unsafe version ofcallableShaderBindingTableSize.static longncallableShaderBindingTableStride(long struct) Unsafe version ofcallableShaderBindingTableStride().static voidncallableShaderBindingTableStride(long struct, long value) Unsafe version ofcallableShaderBindingTableStride.static intndepth(long struct) Unsafe version ofdepth().static voidndepth(long struct, int value) Unsafe version ofdepth.static intnheight(long struct) Unsafe version ofheight().static voidnheight(long struct, int value) Unsafe version ofheight.static longnhitShaderBindingTableAddress(long struct) Unsafe version ofhitShaderBindingTableAddress().static voidnhitShaderBindingTableAddress(long struct, long value) Unsafe version ofhitShaderBindingTableAddress.static longnhitShaderBindingTableSize(long struct) Unsafe version ofhitShaderBindingTableSize().static voidnhitShaderBindingTableSize(long struct, long value) Unsafe version ofhitShaderBindingTableSize.static longnhitShaderBindingTableStride(long struct) Unsafe version ofhitShaderBindingTableStride().static voidnhitShaderBindingTableStride(long struct, long value) Unsafe version ofhitShaderBindingTableStride.static longnmissShaderBindingTableAddress(long struct) Unsafe version ofmissShaderBindingTableAddress().static voidnmissShaderBindingTableAddress(long struct, long value) Unsafe version ofmissShaderBindingTableAddress.static longnmissShaderBindingTableSize(long struct) Unsafe version ofmissShaderBindingTableSize().static voidnmissShaderBindingTableSize(long struct, long value) Unsafe version ofmissShaderBindingTableSize.static longnmissShaderBindingTableStride(long struct) Unsafe version ofmissShaderBindingTableStride().static voidnmissShaderBindingTableStride(long struct, long value) Unsafe version ofmissShaderBindingTableStride.static longnraygenShaderRecordAddress(long struct) Unsafe version ofraygenShaderRecordAddress().static voidnraygenShaderRecordAddress(long struct, long value) Unsafe version ofraygenShaderRecordAddress.static longnraygenShaderRecordSize(long struct) Unsafe version ofraygenShaderRecordSize().static voidnraygenShaderRecordSize(long struct, long value) Unsafe version ofraygenShaderRecordSize.static intnwidth(long struct) Unsafe version ofwidth().static voidnwidth(long struct, int value) Unsafe version ofwidth.longaVkDeviceAddressof the ray generation shader binding table record used by this command.raygenShaderRecordAddress(long value) Sets the specified value to theraygenShaderRecordAddress()field.longaVkDeviceSizenumber of bytes corresponding to the ray generation shader binding table record at base addressraygenShaderRecordAddress.raygenShaderRecordSize(long value) Sets the specified value to theraygenShaderRecordSize()field.set(long raygenShaderRecordAddress, long raygenShaderRecordSize, long missShaderBindingTableAddress, long missShaderBindingTableSize, long missShaderBindingTableStride, long hitShaderBindingTableAddress, long hitShaderBindingTableSize, long hitShaderBindingTableStride, long callableShaderBindingTableAddress, long callableShaderBindingTableSize, long callableShaderBindingTableStride, int width, int height, int depth) Initializes this struct with the specified values.Copies the specified struct data to this struct.intsizeof()intwidth()the width of the ray trace query dimensions.width(int value) Sets the specified value to thewidth()field.Methods inherited from class org.lwjgl.system.Struct
clear, free, isNull, validate, validateMethods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
RAYGENSHADERRECORDADDRESS
public static final int RAYGENSHADERRECORDADDRESSThe struct member offsets. -
RAYGENSHADERRECORDSIZE
public static final int RAYGENSHADERRECORDSIZEThe struct member offsets. -
MISSSHADERBINDINGTABLEADDRESS
public static final int MISSSHADERBINDINGTABLEADDRESSThe struct member offsets. -
MISSSHADERBINDINGTABLESIZE
public static final int MISSSHADERBINDINGTABLESIZEThe struct member offsets. -
MISSSHADERBINDINGTABLESTRIDE
public static final int MISSSHADERBINDINGTABLESTRIDEThe struct member offsets. -
HITSHADERBINDINGTABLEADDRESS
public static final int HITSHADERBINDINGTABLEADDRESSThe struct member offsets. -
HITSHADERBINDINGTABLESIZE
public static final int HITSHADERBINDINGTABLESIZEThe struct member offsets. -
HITSHADERBINDINGTABLESTRIDE
public static final int HITSHADERBINDINGTABLESTRIDEThe struct member offsets. -
CALLABLESHADERBINDINGTABLEADDRESS
public static final int CALLABLESHADERBINDINGTABLEADDRESSThe struct member offsets. -
CALLABLESHADERBINDINGTABLESIZE
public static final int CALLABLESHADERBINDINGTABLESIZEThe struct member offsets. -
CALLABLESHADERBINDINGTABLESTRIDE
public static final int CALLABLESHADERBINDINGTABLESTRIDEThe struct member offsets. -
WIDTH
public static final int WIDTHThe struct member offsets. -
HEIGHT
public static final int HEIGHTThe struct member offsets. -
DEPTH
public static final int DEPTHThe struct member offsets.
-
-
Constructor Details
-
VkTraceRaysIndirectCommand2KHR
Creates aVkTraceRaysIndirectCommand2KHRinstance 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 Details
-
sizeof
public int sizeof()- Specified by:
sizeofin classorg.lwjgl.system.Struct<VkTraceRaysIndirectCommand2KHR>
-
raygenShaderRecordAddress
public long raygenShaderRecordAddress()aVkDeviceAddressof the ray generation shader binding table record used by this command. -
raygenShaderRecordSize
public long raygenShaderRecordSize()aVkDeviceSizenumber of bytes corresponding to the ray generation shader binding table record at base addressraygenShaderRecordAddress. -
missShaderBindingTableAddress
public long missShaderBindingTableAddress()aVkDeviceAddressof the first record in the miss shader binding table used by this command. -
missShaderBindingTableSize
public long missShaderBindingTableSize()aVkDeviceSizenumber of bytes corresponding to the total size of the miss shader binding table atmissShaderBindingTableAddressthat may be accessed by this command. -
missShaderBindingTableStride
public long missShaderBindingTableStride()aVkDeviceSizenumber of bytes between records of the miss shader binding table. -
hitShaderBindingTableAddress
public long hitShaderBindingTableAddress()aVkDeviceAddressof the first record in the hit shader binding table used by this command. -
hitShaderBindingTableSize
public long hitShaderBindingTableSize()aVkDeviceSizenumber of bytes corresponding to the total size of the hit shader binding table athitShaderBindingTableAddressthat may be accessed by this command. -
hitShaderBindingTableStride
public long hitShaderBindingTableStride()aVkDeviceSizenumber of bytes between records of the hit shader binding table. -
callableShaderBindingTableAddress
public long callableShaderBindingTableAddress()aVkDeviceAddressof the first record in the callable shader binding table used by this command. -
callableShaderBindingTableSize
public long callableShaderBindingTableSize()aVkDeviceSizenumber of bytes corresponding to the total size of the callable shader binding table atcallableShaderBindingTableAddressthat may be accessed by this command. -
callableShaderBindingTableStride
public long callableShaderBindingTableStride()aVkDeviceSizenumber of bytes between records of the callable shader binding table. -
width
public int width()the width of the ray trace query dimensions. -
height
public int height()height of the ray trace query dimensions. -
depth
public int depth()depth of the ray trace query dimensions. -
raygenShaderRecordAddress
Sets the specified value to theraygenShaderRecordAddress()field. -
raygenShaderRecordSize
Sets the specified value to theraygenShaderRecordSize()field. -
missShaderBindingTableAddress
Sets the specified value to themissShaderBindingTableAddress()field. -
missShaderBindingTableSize
Sets the specified value to themissShaderBindingTableSize()field. -
missShaderBindingTableStride
Sets the specified value to themissShaderBindingTableStride()field. -
hitShaderBindingTableAddress
Sets the specified value to thehitShaderBindingTableAddress()field. -
hitShaderBindingTableSize
Sets the specified value to thehitShaderBindingTableSize()field. -
hitShaderBindingTableStride
Sets the specified value to thehitShaderBindingTableStride()field. -
callableShaderBindingTableAddress
Sets the specified value to thecallableShaderBindingTableAddress()field. -
callableShaderBindingTableSize
Sets the specified value to thecallableShaderBindingTableSize()field. -
callableShaderBindingTableStride
Sets the specified value to thecallableShaderBindingTableStride()field. -
width
Sets the specified value to thewidth()field. -
height
Sets the specified value to theheight()field. -
depth
Sets the specified value to thedepth()field. -
set
public VkTraceRaysIndirectCommand2KHR set(long raygenShaderRecordAddress, long raygenShaderRecordSize, long missShaderBindingTableAddress, long missShaderBindingTableSize, long missShaderBindingTableStride, long hitShaderBindingTableAddress, long hitShaderBindingTableSize, long hitShaderBindingTableStride, long callableShaderBindingTableAddress, long callableShaderBindingTableSize, long callableShaderBindingTableStride, int width, int height, int depth) Initializes this struct with the specified values. -
set
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newVkTraceRaysIndirectCommand2KHRinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newVkTraceRaysIndirectCommand2KHRinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newVkTraceRaysIndirectCommand2KHRinstance allocated withBufferUtils. -
create
Returns a newVkTraceRaysIndirectCommand2KHRinstance for the specified memory address. -
createSafe
-
malloc
Returns a newVkTraceRaysIndirectCommand2KHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newVkTraceRaysIndirectCommand2KHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newVkTraceRaysIndirectCommand2KHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aVkTraceRaysIndirectCommand2KHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
public static @Nullable VkTraceRaysIndirectCommand2KHR.Buffer createSafe(long address, int capacity) -
malloc
Returns a newVkTraceRaysIndirectCommand2KHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newVkTraceRaysIndirectCommand2KHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkTraceRaysIndirectCommand2KHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newVkTraceRaysIndirectCommand2KHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
public static VkTraceRaysIndirectCommand2KHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newVkTraceRaysIndirectCommand2KHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
nraygenShaderRecordAddress
public static long nraygenShaderRecordAddress(long struct) Unsafe version ofraygenShaderRecordAddress(). -
nraygenShaderRecordSize
public static long nraygenShaderRecordSize(long struct) Unsafe version ofraygenShaderRecordSize(). -
nmissShaderBindingTableAddress
public static long nmissShaderBindingTableAddress(long struct) Unsafe version ofmissShaderBindingTableAddress(). -
nmissShaderBindingTableSize
public static long nmissShaderBindingTableSize(long struct) Unsafe version ofmissShaderBindingTableSize(). -
nmissShaderBindingTableStride
public static long nmissShaderBindingTableStride(long struct) Unsafe version ofmissShaderBindingTableStride(). -
nhitShaderBindingTableAddress
public static long nhitShaderBindingTableAddress(long struct) Unsafe version ofhitShaderBindingTableAddress(). -
nhitShaderBindingTableSize
public static long nhitShaderBindingTableSize(long struct) Unsafe version ofhitShaderBindingTableSize(). -
nhitShaderBindingTableStride
public static long nhitShaderBindingTableStride(long struct) Unsafe version ofhitShaderBindingTableStride(). -
ncallableShaderBindingTableAddress
public static long ncallableShaderBindingTableAddress(long struct) Unsafe version ofcallableShaderBindingTableAddress(). -
ncallableShaderBindingTableSize
public static long ncallableShaderBindingTableSize(long struct) Unsafe version ofcallableShaderBindingTableSize(). -
ncallableShaderBindingTableStride
public static long ncallableShaderBindingTableStride(long struct) Unsafe version ofcallableShaderBindingTableStride(). -
nwidth
public static int nwidth(long struct) Unsafe version ofwidth(). -
nheight
public static int nheight(long struct) Unsafe version ofheight(). -
ndepth
public static int ndepth(long struct) Unsafe version ofdepth(). -
nraygenShaderRecordAddress
public static void nraygenShaderRecordAddress(long struct, long value) Unsafe version ofraygenShaderRecordAddress. -
nraygenShaderRecordSize
public static void nraygenShaderRecordSize(long struct, long value) Unsafe version ofraygenShaderRecordSize. -
nmissShaderBindingTableAddress
public static void nmissShaderBindingTableAddress(long struct, long value) Unsafe version ofmissShaderBindingTableAddress. -
nmissShaderBindingTableSize
public static void nmissShaderBindingTableSize(long struct, long value) Unsafe version ofmissShaderBindingTableSize. -
nmissShaderBindingTableStride
public static void nmissShaderBindingTableStride(long struct, long value) Unsafe version ofmissShaderBindingTableStride. -
nhitShaderBindingTableAddress
public static void nhitShaderBindingTableAddress(long struct, long value) Unsafe version ofhitShaderBindingTableAddress. -
nhitShaderBindingTableSize
public static void nhitShaderBindingTableSize(long struct, long value) Unsafe version ofhitShaderBindingTableSize. -
nhitShaderBindingTableStride
public static void nhitShaderBindingTableStride(long struct, long value) Unsafe version ofhitShaderBindingTableStride. -
ncallableShaderBindingTableAddress
public static void ncallableShaderBindingTableAddress(long struct, long value) Unsafe version ofcallableShaderBindingTableAddress. -
ncallableShaderBindingTableSize
public static void ncallableShaderBindingTableSize(long struct, long value) Unsafe version ofcallableShaderBindingTableSize. -
ncallableShaderBindingTableStride
public static void ncallableShaderBindingTableStride(long struct, long value) Unsafe version ofcallableShaderBindingTableStride. -
nwidth
public static void nwidth(long struct, int value) Unsafe version ofwidth. -
nheight
public static void nheight(long struct, int value) Unsafe version ofheight. -
ndepth
public static void ndepth(long struct, int value) Unsafe version ofdepth.
-