Class VkAccelerationStructureBuildGeometryInfoKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkAccelerationStructureBuildGeometryInfoKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkAccelerationStructureBuildGeometryInfoKHR extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifying the geometry data used to build an acceleration structure.Description
Only one of
pGeometriesorppGeometriescan be a valid pointer, the other must beNULL. Each element of the non-NULLarray describes the data used to build each acceleration structure geometry.The index of each element of the
pGeometriesorppGeometriesmembers ofVkAccelerationStructureBuildGeometryInfoKHRis used as the geometry index during ray traversal. The geometry index is available in ray shaders via theRayGeometryIndexKHRbuilt-in, and is used to determine hit and intersection shaders executed during traversal. The geometry index is available to ray queries via theOpRayQueryGetIntersectionGeometryIndexKHRinstruction.Setting
BUILD_ACCELERATION_STRUCTURE_MOTION_BIT_NVinflagsindicates that this build is a motion top level acceleration structure. A motion top level uses instances of formatVkAccelerationStructureMotionInstanceNVifVkAccelerationStructureGeometryInstancesDataKHR::arrayOfPointersisFALSE.If
VkAccelerationStructureGeometryInstancesDataKHR::arrayOfPointersisTRUE, the pointer for any given element of the array of instance pointers consists of 4 bits ofVkAccelerationStructureMotionInstanceTypeNVin the low 4 bits of the pointer identifying the type of structure at the pointer. The device address accessed is the value in the array with the low 4 bits set to zero. The structure at the pointer is one ofVkAccelerationStructureInstanceKHR,VkAccelerationStructureMatrixMotionInstanceNVorVkAccelerationStructureSRTMotionInstanceNV, depending on the type value encoded in the low 4 bits.A top level acceleration structure with either motion instances or vertex motion in its instances must set
BUILD_ACCELERATION_STRUCTURE_MOTION_BIT_NVinflags.Members
srcAccelerationStructureanddstAccelerationStructuremay be the same or different for an update operation (whenmodeisBUILD_ACCELERATION_STRUCTURE_MODE_UPDATE_KHR). If they are the same, the update happens in-place. Otherwise, the target acceleration structure is updated and the source is not modified.Valid Usage
typemust not beACCELERATION_STRUCTURE_TYPE_GENERIC_KHR- Only one of
pGeometriesorppGeometriescan be a valid pointer, the other must beNULL - If
typeisACCELERATION_STRUCTURE_TYPE_TOP_LEVEL_KHR, thegeometryTypemember of elements of eitherpGeometriesorppGeometriesmust beGEOMETRY_TYPE_INSTANCES_KHR - If
typeisACCELERATION_STRUCTURE_TYPE_TOP_LEVEL_KHR,geometryCountmust be 1 - If
typeisACCELERATION_STRUCTURE_TYPE_BOTTOM_LEVEL_KHRthegeometryTypemember of elements of eitherpGeometriesorppGeometriesmust not beGEOMETRY_TYPE_INSTANCES_KHR - If
typeisACCELERATION_STRUCTURE_TYPE_BOTTOM_LEVEL_KHRthen thegeometryTypemember of each geometry in eitherpGeometriesorppGeometriesmust be the same - If
typeisACCELERATION_STRUCTURE_TYPE_BOTTOM_LEVEL_KHRthengeometryCountmust be less than or equal toVkPhysicalDeviceAccelerationStructurePropertiesKHR::maxGeometryCount - If
typeisACCELERATION_STRUCTURE_TYPE_BOTTOM_LEVEL_KHRand thegeometryTypemember of eitherpGeometriesorppGeometriesisGEOMETRY_TYPE_AABBS_KHR, the total number of AABBs in all geometries must be less than or equal toVkPhysicalDeviceAccelerationStructurePropertiesKHR::maxPrimitiveCount - If
typeisACCELERATION_STRUCTURE_TYPE_BOTTOM_LEVEL_KHRand thegeometryTypemember of eitherpGeometriesorppGeometriesisGEOMETRY_TYPE_TRIANGLES_KHR, the total number of triangles in all geometries must be less than or equal toVkPhysicalDeviceAccelerationStructurePropertiesKHR::maxPrimitiveCount - If
flagshas theBUILD_ACCELERATION_STRUCTURE_PREFER_FAST_TRACE_BIT_KHRbit set, then it must not have theBUILD_ACCELERATION_STRUCTURE_PREFER_FAST_BUILD_BIT_KHRbit set - If
dstAccelerationStructurewas created withACCELERATION_STRUCTURE_CREATE_MOTION_BIT_NVset inVkAccelerationStructureCreateInfoKHR::flags,BUILD_ACCELERATION_STRUCTURE_MOTION_BIT_NVmust be set inflags - If
BUILD_ACCELERATION_STRUCTURE_MOTION_BIT_NVis set inflags,dstAccelerationStructuremust have been created withACCELERATION_STRUCTURE_CREATE_MOTION_BIT_NVset inVkAccelerationStructureCreateInfoKHR::flags - If
BUILD_ACCELERATION_STRUCTURE_MOTION_BIT_NVis set inflags,typemust not beACCELERATION_STRUCTURE_TYPE_GENERIC_KHR
Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_ACCELERATION_STRUCTURE_BUILD_GEOMETRY_INFO_KHRpNextmust beNULLtypemust be a validVkAccelerationStructureTypeKHRvalueflagsmust be a valid combination ofVkBuildAccelerationStructureFlagBitsKHRvalues- If
geometryCountis not 0, andpGeometriesis notNULL,pGeometriesmust be a valid pointer to an array ofgeometryCountvalidVkAccelerationStructureGeometryKHRstructures - If
geometryCountis not 0, andppGeometriesis notNULL,ppGeometriesmust be a valid pointer to an array ofgeometryCountvalid pointers to validVkAccelerationStructureGeometryKHRstructures - Both of
dstAccelerationStructure, andsrcAccelerationStructurethat are valid handles of non-ignored parameters must have been created, allocated, or retrieved from the sameVkDevice
See Also
VkAccelerationStructureGeometryKHR,VkDeviceOrHostAddressKHR,BuildAccelerationStructuresKHR,CmdBuildAccelerationStructuresIndirectKHR,CmdBuildAccelerationStructuresKHR,GetAccelerationStructureBuildSizesKHRLayout
struct VkAccelerationStructureBuildGeometryInfoKHR { VkStructureTypesType(); void const *pNext(); VkAccelerationStructureTypeKHRtype(); VkBuildAccelerationStructureFlagsKHRflags(); VkBuildAccelerationStructureModeKHRmode(); VkAccelerationStructureKHRsrcAccelerationStructure(); VkAccelerationStructureKHRdstAccelerationStructure(); uint32_tgeometryCount();VkAccelerationStructureGeometryKHRconst *pGeometries();VkAccelerationStructureGeometryKHRconst * const *ppGeometries();VkDeviceOrHostAddressKHRscratchData(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkAccelerationStructureBuildGeometryInfoKHR.BufferAn array ofVkAccelerationStructureBuildGeometryInfoKHRstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intDSTACCELERATIONSTRUCTURE
FLAGS
GEOMETRYCOUNT
MODE
PGEOMETRIES
PNEXT
PPGEOMETRIES
SCRATCHDATAThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSRCACCELERATIONSTRUCTURE
STYPE
TYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkAccelerationStructureBuildGeometryInfoKHR(java.nio.ByteBuffer container)Creates aVkAccelerationStructureBuildGeometryInfoKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkAccelerationStructureBuildGeometryInfoKHRcalloc()Returns a newVkAccelerationStructureBuildGeometryInfoKHRinstance allocated withmemCalloc.static VkAccelerationStructureBuildGeometryInfoKHR.Buffercalloc(int capacity)Returns a newVkAccelerationStructureBuildGeometryInfoKHR.Bufferinstance allocated withmemCalloc.static VkAccelerationStructureBuildGeometryInfoKHR.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkAccelerationStructureBuildGeometryInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkAccelerationStructureBuildGeometryInfoKHRcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkAccelerationStructureBuildGeometryInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkAccelerationStructureBuildGeometryInfoKHRcreate()Returns a newVkAccelerationStructureBuildGeometryInfoKHRinstance allocated withBufferUtils.static VkAccelerationStructureBuildGeometryInfoKHR.Buffercreate(int capacity)Returns a newVkAccelerationStructureBuildGeometryInfoKHR.Bufferinstance allocated withBufferUtils.static VkAccelerationStructureBuildGeometryInfoKHRcreate(long address)Returns a newVkAccelerationStructureBuildGeometryInfoKHRinstance for the specified memory address.static VkAccelerationStructureBuildGeometryInfoKHR.Buffercreate(long address, int capacity)Create aVkAccelerationStructureBuildGeometryInfoKHR.Bufferinstance at the specified memory.static VkAccelerationStructureBuildGeometryInfoKHRcreateSafe(long address)static VkAccelerationStructureBuildGeometryInfoKHR.BuffercreateSafe(long address, int capacity)longdstAccelerationStructure()a pointer to the target acceleration structure for the build.VkAccelerationStructureBuildGeometryInfoKHRdstAccelerationStructure(long value)Sets the specified value to thedstAccelerationStructure()field.intflags()a bitmask ofVkBuildAccelerationStructureFlagBitsKHRspecifying additional parameters of the acceleration structure.VkAccelerationStructureBuildGeometryInfoKHRflags(int value)Sets the specified value to theflags()field.intgeometryCount()specifies the number of geometries that will be built intodstAccelerationStructure.VkAccelerationStructureBuildGeometryInfoKHRgeometryCount(int value)Sets the specified value to thegeometryCount()field.static VkAccelerationStructureBuildGeometryInfoKHRmalloc()Returns a newVkAccelerationStructureBuildGeometryInfoKHRinstance allocated withmemAlloc.static VkAccelerationStructureBuildGeometryInfoKHR.Buffermalloc(int capacity)Returns a newVkAccelerationStructureBuildGeometryInfoKHR.Bufferinstance allocated withmemAlloc.static VkAccelerationStructureBuildGeometryInfoKHR.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkAccelerationStructureBuildGeometryInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkAccelerationStructureBuildGeometryInfoKHRmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkAccelerationStructureBuildGeometryInfoKHRinstance allocated on the specifiedMemoryStack.intmode()aVkBuildAccelerationStructureModeKHRvalue specifying the type of operation to perform.VkAccelerationStructureBuildGeometryInfoKHRmode(int value)Sets the specified value to themode()field.static longndstAccelerationStructure(long struct)Unsafe version ofdstAccelerationStructure().static voidndstAccelerationStructure(long struct, long value)Unsafe version ofdstAccelerationStructure.static intnflags(long struct)Unsafe version offlags().static voidnflags(long struct, int value)Unsafe version offlags.static intngeometryCount(long struct)Unsafe version ofgeometryCount().static voidngeometryCount(long struct, int value)Sets the specified value to thegeometryCountfield of the specifiedstruct.static intnmode(long struct)Unsafe version ofmode().static voidnmode(long struct, int value)Unsafe version ofmode.static VkAccelerationStructureGeometryKHR.BuffernpGeometries(long struct)Unsafe version ofpGeometries().static voidnpGeometries(long struct, VkAccelerationStructureGeometryKHR.Buffer value)Unsafe version ofpGeometries.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static org.lwjgl.PointerBuffernppGeometries(long struct)Unsafe version ofppGeometries.static voidnppGeometries(long struct, org.lwjgl.PointerBuffer value)Unsafe version ofppGeometries.static VkDeviceOrHostAddressKHRnscratchData(long struct)Unsafe version ofscratchData().static voidnscratchData(long struct, VkDeviceOrHostAddressKHR value)Unsafe version ofscratchData.static longnsrcAccelerationStructure(long struct)Unsafe version ofsrcAccelerationStructure().static voidnsrcAccelerationStructure(long struct, long value)Unsafe version ofsrcAccelerationStructure.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.static intntype(long struct)Unsafe version oftype().static voidntype(long struct, int value)Unsafe version oftype.VkAccelerationStructureGeometryKHR.BufferpGeometries()a pointer to an array ofVkAccelerationStructureGeometryKHRstructures.VkAccelerationStructureBuildGeometryInfoKHRpGeometries(VkAccelerationStructureGeometryKHR.Buffer value)Sets the address of the specifiedVkAccelerationStructureGeometryKHR.Bufferto thepGeometries()field.longpNext()NULLor a pointer to a structure extending this structure.VkAccelerationStructureBuildGeometryInfoKHRpNext(long value)Sets the specified value to thepNext()field.org.lwjgl.PointerBufferppGeometries()a pointer to an array of pointers toVkAccelerationStructureGeometryKHRstructures.VkAccelerationStructureBuildGeometryInfoKHRppGeometries(org.lwjgl.PointerBuffer value)Sets the address of the specifiedPointerBufferto theppGeometries()field.VkDeviceOrHostAddressKHRscratchData()the device or host address to memory that will be used as scratch memory for the build.VkAccelerationStructureBuildGeometryInfoKHRscratchData(java.util.function.Consumer<VkDeviceOrHostAddressKHR> consumer)Passes thescratchData()field to the specifiedConsumer.VkAccelerationStructureBuildGeometryInfoKHRscratchData(VkDeviceOrHostAddressKHR value)Copies the specifiedVkDeviceOrHostAddressKHRto thescratchData()field.VkAccelerationStructureBuildGeometryInfoKHRset(int sType, long pNext, int type, int flags, int mode, long srcAccelerationStructure, long dstAccelerationStructure, int geometryCount, VkAccelerationStructureGeometryKHR.Buffer pGeometries, org.lwjgl.PointerBuffer ppGeometries, VkDeviceOrHostAddressKHR scratchData)Initializes this struct with the specified values.VkAccelerationStructureBuildGeometryInfoKHRset(VkAccelerationStructureBuildGeometryInfoKHR src)Copies the specified struct data to this struct.intsizeof()longsrcAccelerationStructure()a pointer to an existing acceleration structure that is to be used to update thedstacceleration structure whenmodeisBUILD_ACCELERATION_STRUCTURE_MODE_UPDATE_KHR.VkAccelerationStructureBuildGeometryInfoKHRsrcAccelerationStructure(long value)Sets the specified value to thesrcAccelerationStructure()field.intsType()the type of this structure.VkAccelerationStructureBuildGeometryInfoKHRsType(int value)Sets the specified value to thesType()field.VkAccelerationStructureBuildGeometryInfoKHRsType$Default()Sets theSTRUCTURE_TYPE_ACCELERATION_STRUCTURE_BUILD_GEOMETRY_INFO_KHRvalue to thesType()field.inttype()aVkAccelerationStructureTypeKHRvalue specifying the type of acceleration structure being built.VkAccelerationStructureBuildGeometryInfoKHRtype(int value)Sets the specified value to thetype()field.
-
-
-
Constructor Detail
-
VkAccelerationStructureBuildGeometryInfoKHR
public VkAccelerationStructureBuildGeometryInfoKHR(java.nio.ByteBuffer container)
Creates aVkAccelerationStructureBuildGeometryInfoKHRinstance 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.
-
type
public int type()
aVkAccelerationStructureTypeKHRvalue specifying the type of acceleration structure being built.
-
flags
public int flags()
a bitmask ofVkBuildAccelerationStructureFlagBitsKHRspecifying additional parameters of the acceleration structure.
-
mode
public int mode()
aVkBuildAccelerationStructureModeKHRvalue specifying the type of operation to perform.
-
srcAccelerationStructure
public long srcAccelerationStructure()
a pointer to an existing acceleration structure that is to be used to update thedstacceleration structure whenmodeisBUILD_ACCELERATION_STRUCTURE_MODE_UPDATE_KHR.
-
dstAccelerationStructure
public long dstAccelerationStructure()
a pointer to the target acceleration structure for the build.
-
geometryCount
public int geometryCount()
specifies the number of geometries that will be built intodstAccelerationStructure.
-
pGeometries
@Nullable public VkAccelerationStructureGeometryKHR.Buffer pGeometries()
a pointer to an array ofVkAccelerationStructureGeometryKHRstructures.
-
ppGeometries
@Nullable public org.lwjgl.PointerBuffer ppGeometries()
a pointer to an array of pointers toVkAccelerationStructureGeometryKHRstructures.
-
scratchData
public VkDeviceOrHostAddressKHR scratchData()
the device or host address to memory that will be used as scratch memory for the build.
-
sType
public VkAccelerationStructureBuildGeometryInfoKHR sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkAccelerationStructureBuildGeometryInfoKHR sType$Default()
Sets theSTRUCTURE_TYPE_ACCELERATION_STRUCTURE_BUILD_GEOMETRY_INFO_KHRvalue to thesType()field.
-
pNext
public VkAccelerationStructureBuildGeometryInfoKHR pNext(long value)
Sets the specified value to thepNext()field.
-
type
public VkAccelerationStructureBuildGeometryInfoKHR type(int value)
Sets the specified value to thetype()field.
-
flags
public VkAccelerationStructureBuildGeometryInfoKHR flags(int value)
Sets the specified value to theflags()field.
-
mode
public VkAccelerationStructureBuildGeometryInfoKHR mode(int value)
Sets the specified value to themode()field.
-
srcAccelerationStructure
public VkAccelerationStructureBuildGeometryInfoKHR srcAccelerationStructure(long value)
Sets the specified value to thesrcAccelerationStructure()field.
-
dstAccelerationStructure
public VkAccelerationStructureBuildGeometryInfoKHR dstAccelerationStructure(long value)
Sets the specified value to thedstAccelerationStructure()field.
-
geometryCount
public VkAccelerationStructureBuildGeometryInfoKHR geometryCount(int value)
Sets the specified value to thegeometryCount()field.
-
pGeometries
public VkAccelerationStructureBuildGeometryInfoKHR pGeometries(@Nullable VkAccelerationStructureGeometryKHR.Buffer value)
Sets the address of the specifiedVkAccelerationStructureGeometryKHR.Bufferto thepGeometries()field.
-
ppGeometries
public VkAccelerationStructureBuildGeometryInfoKHR ppGeometries(@Nullable org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBufferto theppGeometries()field.
-
scratchData
public VkAccelerationStructureBuildGeometryInfoKHR scratchData(VkDeviceOrHostAddressKHR value)
Copies the specifiedVkDeviceOrHostAddressKHRto thescratchData()field.
-
scratchData
public VkAccelerationStructureBuildGeometryInfoKHR scratchData(java.util.function.Consumer<VkDeviceOrHostAddressKHR> consumer)
Passes thescratchData()field to the specifiedConsumer.
-
set
public VkAccelerationStructureBuildGeometryInfoKHR set(int sType, long pNext, int type, int flags, int mode, long srcAccelerationStructure, long dstAccelerationStructure, int geometryCount, @Nullable VkAccelerationStructureGeometryKHR.Buffer pGeometries, @Nullable org.lwjgl.PointerBuffer ppGeometries, VkDeviceOrHostAddressKHR scratchData)
Initializes this struct with the specified values.
-
set
public VkAccelerationStructureBuildGeometryInfoKHR set(VkAccelerationStructureBuildGeometryInfoKHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkAccelerationStructureBuildGeometryInfoKHR malloc()
Returns a newVkAccelerationStructureBuildGeometryInfoKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkAccelerationStructureBuildGeometryInfoKHR calloc()
Returns a newVkAccelerationStructureBuildGeometryInfoKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkAccelerationStructureBuildGeometryInfoKHR create()
Returns a newVkAccelerationStructureBuildGeometryInfoKHRinstance allocated withBufferUtils.
-
create
public static VkAccelerationStructureBuildGeometryInfoKHR create(long address)
Returns a newVkAccelerationStructureBuildGeometryInfoKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkAccelerationStructureBuildGeometryInfoKHR createSafe(long address)
-
malloc
public static VkAccelerationStructureBuildGeometryInfoKHR.Buffer malloc(int capacity)
Returns a newVkAccelerationStructureBuildGeometryInfoKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkAccelerationStructureBuildGeometryInfoKHR.Buffer calloc(int capacity)
Returns a newVkAccelerationStructureBuildGeometryInfoKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkAccelerationStructureBuildGeometryInfoKHR.Buffer create(int capacity)
Returns a newVkAccelerationStructureBuildGeometryInfoKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkAccelerationStructureBuildGeometryInfoKHR.Buffer create(long address, int capacity)
Create aVkAccelerationStructureBuildGeometryInfoKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkAccelerationStructureBuildGeometryInfoKHR.Buffer createSafe(long address, int capacity)
-
malloc
public static VkAccelerationStructureBuildGeometryInfoKHR malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkAccelerationStructureBuildGeometryInfoKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkAccelerationStructureBuildGeometryInfoKHR calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkAccelerationStructureBuildGeometryInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkAccelerationStructureBuildGeometryInfoKHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkAccelerationStructureBuildGeometryInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkAccelerationStructureBuildGeometryInfoKHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkAccelerationStructureBuildGeometryInfoKHR.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().
-
ntype
public static int ntype(long struct)
Unsafe version oftype().
-
nflags
public static int nflags(long struct)
Unsafe version offlags().
-
nmode
public static int nmode(long struct)
Unsafe version ofmode().
-
nsrcAccelerationStructure
public static long nsrcAccelerationStructure(long struct)
Unsafe version ofsrcAccelerationStructure().
-
ndstAccelerationStructure
public static long ndstAccelerationStructure(long struct)
Unsafe version ofdstAccelerationStructure().
-
ngeometryCount
public static int ngeometryCount(long struct)
Unsafe version ofgeometryCount().
-
npGeometries
@Nullable public static VkAccelerationStructureGeometryKHR.Buffer npGeometries(long struct)
Unsafe version ofpGeometries().
-
nppGeometries
@Nullable public static org.lwjgl.PointerBuffer nppGeometries(long struct)
Unsafe version ofppGeometries.
-
nscratchData
public static VkDeviceOrHostAddressKHR nscratchData(long struct)
Unsafe version ofscratchData().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
ntype
public static void ntype(long struct, int value)Unsafe version oftype.
-
nflags
public static void nflags(long struct, int value)Unsafe version offlags.
-
nmode
public static void nmode(long struct, int value)Unsafe version ofmode.
-
nsrcAccelerationStructure
public static void nsrcAccelerationStructure(long struct, long value)Unsafe version ofsrcAccelerationStructure.
-
ndstAccelerationStructure
public static void ndstAccelerationStructure(long struct, long value)Unsafe version ofdstAccelerationStructure.
-
ngeometryCount
public static void ngeometryCount(long struct, int value)Sets the specified value to thegeometryCountfield of the specifiedstruct.
-
npGeometries
public static void npGeometries(long struct, @Nullable VkAccelerationStructureGeometryKHR.Buffer value)Unsafe version ofpGeometries.
-
nppGeometries
public static void nppGeometries(long struct, @Nullable org.lwjgl.PointerBuffer value)Unsafe version ofppGeometries.
-
nscratchData
public static void nscratchData(long struct, VkDeviceOrHostAddressKHR value)Unsafe version ofscratchData.
-
-