Class VkAccelerationStructureTrianglesDisplacementMicromapNV
- All Implemented Interfaces:
AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
Description
If VkAccelerationStructureTrianglesDisplacementMicromapNV is included in the pNext chain of a VkAccelerationStructureGeometryTrianglesDataKHR structure, that geometry will reference that micromap.
For each triangle in the geometry, the acceleration structure build fetches an index from indexBuffer using indexType and indexStride. That triangle uses the displacement micromap information from micromap at that index plus baseTriangle.
Only one of pUsageCounts or ppUsageCounts can be a valid pointer, the other must be NULL. The elements of the non-NULL array describe the total count used to build this geometry. For a given format and subdivisionLevel the number of triangles in this geometry matching those values after indirection must be equal to the sum of matching count provided.
Valid Usage
displacementBiasAndScaleFormatmust not beFORMAT_UNDEFINEDdisplacementVectorFormatmust not beFORMAT_UNDEFINED- Only one of
pUsageCountsorppUsageCountscan be a valid pointer, the other must beNULL
Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_ACCELERATION_STRUCTURE_TRIANGLES_DISPLACEMENT_MICROMAP_NVdisplacementBiasAndScaleFormatmust be a validVkFormatvaluedisplacementVectorFormatmust be a validVkFormatvalueindexTypemust be a validVkIndexTypevalue- If
usageCountsCountis not 0, andpUsageCountsis notNULL,pUsageCountsmust be a valid pointer to an array ofusageCountsCountVkMicromapUsageEXTstructures - If
usageCountsCountis not 0, andppUsageCountsis notNULL,ppUsageCountsmust be a valid pointer to an array ofusageCountsCountvalid pointers toVkMicromapUsageEXTstructures - If
micromapis notNULL_HANDLE,micromapmust be a validVkMicromapEXThandle
See Also
VkDeviceOrHostAddressConstKHR, VkMicromapUsageEXT
Layout
struct VkAccelerationStructureTrianglesDisplacementMicromapNV {
VkStructureType sType();
void * pNext();
VkFormat displacementBiasAndScaleFormat();
VkFormat displacementVectorFormat();
VkDeviceOrHostAddressConstKHR displacementBiasAndScaleBuffer();
VkDeviceSize displacementBiasAndScaleStride();
VkDeviceOrHostAddressConstKHR displacementVectorBuffer();
VkDeviceSize displacementVectorStride();
VkDeviceOrHostAddressConstKHR displacedMicromapPrimitiveFlags();
VkDeviceSize displacedMicromapPrimitiveFlagsStride();
VkIndexType indexType();
VkDeviceOrHostAddressConstKHR indexBuffer();
VkDeviceSize indexStride();
uint32_t baseTriangle();
uint32_t usageCountsCount();
VkMicromapUsageEXT const * pUsageCounts();
VkMicromapUsageEXT const * const * ppUsageCounts();
VkMicromapEXT micromap();
}-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAn array ofVkAccelerationStructureTrianglesDisplacementMicromapNVstructs.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 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.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
ConstructorsConstructorDescriptionCreates aVkAccelerationStructureTrianglesDisplacementMicromapNVinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionintthe base value added to the non-negative triangle indices.baseTriangle(int value) Sets the specified value to thebaseTriangle()field.calloc()Returns a newVkAccelerationStructureTrianglesDisplacementMicromapNVinstance allocated withmemCalloc.calloc(int capacity) Returns a newVkAccelerationStructureTrianglesDisplacementMicromapNV.Bufferinstance allocated withmemCalloc.calloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newVkAccelerationStructureTrianglesDisplacementMicromapNV.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.calloc(org.lwjgl.system.MemoryStack stack) Returns a newVkAccelerationStructureTrianglesDisplacementMicromapNVinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.create()Returns a newVkAccelerationStructureTrianglesDisplacementMicromapNVinstance allocated withBufferUtils.create(int capacity) Returns a newVkAccelerationStructureTrianglesDisplacementMicromapNV.Bufferinstance allocated withBufferUtils.create(long address) Returns a newVkAccelerationStructureTrianglesDisplacementMicromapNVinstance for the specified memory address.create(long address, int capacity) Create aVkAccelerationStructureTrianglesDisplacementMicromapNV.Bufferinstance at the specified memory.static @Nullable VkAccelerationStructureTrianglesDisplacementMicromapNVcreateSafe(long address) static @Nullable VkAccelerationStructureTrianglesDisplacementMicromapNV.BuffercreateSafe(long address, int capacity) the address containing the primitive flags.Passes thedisplacedMicromapPrimitiveFlags()field to the specifiedConsumer.Copies the specifiedVkDeviceOrHostAddressConstKHRto thedisplacedMicromapPrimitiveFlags()field.longthe byte stride between primitive flag values.displacedMicromapPrimitiveFlagsStride(long value) Sets the specified value to thedisplacedMicromapPrimitiveFlagsStride()field.the address containing the bias and scale.Passes thedisplacementBiasAndScaleBuffer()field to the specifiedConsumer.Copies the specifiedVkDeviceOrHostAddressConstKHRto thedisplacementBiasAndScaleBuffer()field.intthe format of displacement bias and scale used in this displacement micromap reference.displacementBiasAndScaleFormat(int value) Sets the specified value to thedisplacementBiasAndScaleFormat()field.longthe byte stride between bias and scale values.displacementBiasAndScaleStride(long value) Sets the specified value to thedisplacementBiasAndScaleStride()field.the address containing the displacement vector values.Passes thedisplacementVectorBuffer()field to the specifiedConsumer.Copies the specifiedVkDeviceOrHostAddressConstKHRto thedisplacementVectorBuffer()field.intthe format of displacement vector used in this displacement micromap reference.displacementVectorFormat(int value) Sets the specified value to thedisplacementVectorFormat()field.longthe byte stride between displacement vector values.displacementVectorStride(long value) Sets the specified value to thedisplacementVectorStride()field.the address containing the triangle indices.indexBuffer(Consumer<VkDeviceOrHostAddressConstKHR> consumer) Passes theindexBuffer()field to the specifiedConsumer.Copies the specifiedVkDeviceOrHostAddressConstKHRto theindexBuffer()field.longthe byte stride between triangle indices.indexStride(long value) Sets the specified value to theindexStride()field.intthe type of triangle indices used when indexing this micromap.indexType(int value) Sets the specified value to theindexType()field.malloc()Returns a newVkAccelerationStructureTrianglesDisplacementMicromapNVinstance allocated withmemAlloc.malloc(int capacity) Returns a newVkAccelerationStructureTrianglesDisplacementMicromapNV.Bufferinstance allocated withmemAlloc.malloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newVkAccelerationStructureTrianglesDisplacementMicromapNV.Bufferinstance allocated on the specifiedMemoryStack.malloc(org.lwjgl.system.MemoryStack stack) Returns a newVkAccelerationStructureTrianglesDisplacementMicromapNVinstance allocated on the specifiedMemoryStack.longmicromap()the handle to the micromap object to include in this geometry.micromap(long value) Sets the specified value to themicromap()field.static intnbaseTriangle(long struct) Unsafe version ofbaseTriangle().static voidnbaseTriangle(long struct, int value) Unsafe version ofbaseTriangle.ndisplacedMicromapPrimitiveFlags(long struct) Unsafe version ofdisplacedMicromapPrimitiveFlags().static voidndisplacedMicromapPrimitiveFlags(long struct, VkDeviceOrHostAddressConstKHR value) Unsafe version ofdisplacedMicromapPrimitiveFlags.static longndisplacedMicromapPrimitiveFlagsStride(long struct) Unsafe version ofdisplacedMicromapPrimitiveFlagsStride().static voidndisplacedMicromapPrimitiveFlagsStride(long struct, long value) Unsafe version ofdisplacedMicromapPrimitiveFlagsStride.ndisplacementBiasAndScaleBuffer(long struct) Unsafe version ofdisplacementBiasAndScaleBuffer().static voidndisplacementBiasAndScaleBuffer(long struct, VkDeviceOrHostAddressConstKHR value) Unsafe version ofdisplacementBiasAndScaleBuffer.static intndisplacementBiasAndScaleFormat(long struct) Unsafe version ofdisplacementBiasAndScaleFormat().static voidndisplacementBiasAndScaleFormat(long struct, int value) Unsafe version ofdisplacementBiasAndScaleFormat.static longndisplacementBiasAndScaleStride(long struct) Unsafe version ofdisplacementBiasAndScaleStride().static voidndisplacementBiasAndScaleStride(long struct, long value) Unsafe version ofdisplacementBiasAndScaleStride.ndisplacementVectorBuffer(long struct) Unsafe version ofdisplacementVectorBuffer().static voidndisplacementVectorBuffer(long struct, VkDeviceOrHostAddressConstKHR value) Unsafe version ofdisplacementVectorBuffer.static intndisplacementVectorFormat(long struct) Unsafe version ofdisplacementVectorFormat().static voidndisplacementVectorFormat(long struct, int value) Unsafe version ofdisplacementVectorFormat.static longndisplacementVectorStride(long struct) Unsafe version ofdisplacementVectorStride().static voidndisplacementVectorStride(long struct, long value) Unsafe version ofdisplacementVectorStride.nindexBuffer(long struct) Unsafe version ofindexBuffer().static voidnindexBuffer(long struct, VkDeviceOrHostAddressConstKHR value) Unsafe version ofindexBuffer.static longnindexStride(long struct) Unsafe version ofindexStride().static voidnindexStride(long struct, long value) Unsafe version ofindexStride.static intnindexType(long struct) Unsafe version ofindexType().static voidnindexType(long struct, int value) Unsafe version ofindexType.static longnmicromap(long struct) Unsafe version ofmicromap().static voidnmicromap(long struct, long value) Unsafe version ofmicromap.static longnpNext(long struct) Unsafe version ofpNext().static voidnpNext(long struct, long value) Unsafe version ofpNext.static @Nullable org.lwjgl.PointerBuffernppUsageCounts(long struct) Unsafe version ofppUsageCounts.static voidnppUsageCounts(long struct, @Nullable org.lwjgl.PointerBuffer value) Unsafe version ofppUsageCounts.static @Nullable VkMicromapUsageEXT.BuffernpUsageCounts(long struct) Unsafe version ofpUsageCounts().static voidnpUsageCounts(long struct, @Nullable VkMicromapUsageEXT.Buffer value) Unsafe version ofpUsageCounts.static intnsType(long struct) Unsafe version ofsType().static voidnsType(long struct, int value) Unsafe version ofsType.static intnusageCountsCount(long struct) Unsafe version ofusageCountsCount().static voidnusageCountsCount(long struct, int value) Sets the specified value to theusageCountsCountfield of the specifiedstruct.longpNext()NULLor a pointer to a structure extending this structure.pNext(long value) Sets the specified value to thepNext()field.@Nullable org.lwjgl.PointerBuffera pointer to an array of pointers toVkMicromapUsageEXTstructures.ppUsageCounts(@Nullable org.lwjgl.PointerBuffer value) Sets the address of the specifiedPointerBufferto theppUsageCounts()field.@Nullable VkMicromapUsageEXT.Buffera pointer to an array ofVkMicromapUsageEXTstructures.pUsageCounts(@Nullable VkMicromapUsageEXT.Buffer value) Sets the address of the specifiedVkMicromapUsageEXT.Bufferto thepUsageCounts()field.set(int sType, long pNext, int displacementBiasAndScaleFormat, int displacementVectorFormat, VkDeviceOrHostAddressConstKHR displacementBiasAndScaleBuffer, long displacementBiasAndScaleStride, VkDeviceOrHostAddressConstKHR displacementVectorBuffer, long displacementVectorStride, VkDeviceOrHostAddressConstKHR displacedMicromapPrimitiveFlags, long displacedMicromapPrimitiveFlagsStride, int indexType, VkDeviceOrHostAddressConstKHR indexBuffer, long indexStride, int baseTriangle, int usageCountsCount, @Nullable VkMicromapUsageEXT.Buffer pUsageCounts, @Nullable org.lwjgl.PointerBuffer ppUsageCounts, long micromap) Initializes this struct with the specified values.Copies the specified struct data to this struct.intsizeof()intsType()aVkStructureTypevalue identifying this structure.sType(int value) Sets the specified value to thesType()field.Sets theSTRUCTURE_TYPE_ACCELERATION_STRUCTURE_TRIANGLES_DISPLACEMENT_MICROMAP_NVvalue to thesType()field.intspecifies the number of usage counts structures that will be used to determine the size of this micromap.usageCountsCount(int value) Sets the specified value to theusageCountsCount()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. -
STYPE
public static final int STYPEThe struct member offsets. -
PNEXT
public static final int PNEXTThe struct member offsets. -
DISPLACEMENTBIASANDSCALEFORMAT
public static final int DISPLACEMENTBIASANDSCALEFORMATThe struct member offsets. -
DISPLACEMENTVECTORFORMAT
public static final int DISPLACEMENTVECTORFORMATThe struct member offsets. -
DISPLACEMENTBIASANDSCALEBUFFER
public static final int DISPLACEMENTBIASANDSCALEBUFFERThe struct member offsets. -
DISPLACEMENTBIASANDSCALESTRIDE
public static final int DISPLACEMENTBIASANDSCALESTRIDEThe struct member offsets. -
DISPLACEMENTVECTORBUFFER
public static final int DISPLACEMENTVECTORBUFFERThe struct member offsets. -
DISPLACEMENTVECTORSTRIDE
public static final int DISPLACEMENTVECTORSTRIDEThe struct member offsets. -
DISPLACEDMICROMAPPRIMITIVEFLAGS
public static final int DISPLACEDMICROMAPPRIMITIVEFLAGSThe struct member offsets. -
DISPLACEDMICROMAPPRIMITIVEFLAGSSTRIDE
public static final int DISPLACEDMICROMAPPRIMITIVEFLAGSSTRIDEThe struct member offsets. -
INDEXTYPE
public static final int INDEXTYPEThe struct member offsets. -
INDEXBUFFER
public static final int INDEXBUFFERThe struct member offsets. -
INDEXSTRIDE
public static final int INDEXSTRIDEThe struct member offsets. -
BASETRIANGLE
public static final int BASETRIANGLEThe struct member offsets. -
USAGECOUNTSCOUNT
public static final int USAGECOUNTSCOUNTThe struct member offsets. -
PUSAGECOUNTS
public static final int PUSAGECOUNTSThe struct member offsets. -
PPUSAGECOUNTS
public static final int PPUSAGECOUNTSThe struct member offsets. -
MICROMAP
public static final int MICROMAPThe struct member offsets.
-
-
Constructor Details
-
VkAccelerationStructureTrianglesDisplacementMicromapNV
Creates aVkAccelerationStructureTrianglesDisplacementMicromapNVinstance 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<VkAccelerationStructureTrianglesDisplacementMicromapNV>
-
sType
public int sType()aVkStructureTypevalue identifying this structure. -
pNext
public long pNext()NULLor a pointer to a structure extending this structure. -
displacementBiasAndScaleFormat
public int displacementBiasAndScaleFormat()the format of displacement bias and scale used in this displacement micromap reference. -
displacementVectorFormat
public int displacementVectorFormat()the format of displacement vector used in this displacement micromap reference. -
displacementBiasAndScaleBuffer
the address containing the bias and scale. -
displacementBiasAndScaleStride
public long displacementBiasAndScaleStride()the byte stride between bias and scale values. -
displacementVectorBuffer
the address containing the displacement vector values. -
displacementVectorStride
public long displacementVectorStride()the byte stride between displacement vector values. -
displacedMicromapPrimitiveFlags
the address containing the primitive flags. -
displacedMicromapPrimitiveFlagsStride
public long displacedMicromapPrimitiveFlagsStride()the byte stride between primitive flag values. -
indexType
public int indexType()the type of triangle indices used when indexing this micromap. -
indexBuffer
the address containing the triangle indices. -
indexStride
public long indexStride()the byte stride between triangle indices. -
baseTriangle
public int baseTriangle()the base value added to the non-negative triangle indices. -
usageCountsCount
public int usageCountsCount()specifies the number of usage counts structures that will be used to determine the size of this micromap. -
pUsageCounts
a pointer to an array ofVkMicromapUsageEXTstructures. -
ppUsageCounts
public @Nullable org.lwjgl.PointerBuffer ppUsageCounts()a pointer to an array of pointers toVkMicromapUsageEXTstructures. -
micromap
public long micromap()the handle to the micromap object to include in this geometry. -
sType
Sets the specified value to thesType()field. -
sType$Default
Sets theSTRUCTURE_TYPE_ACCELERATION_STRUCTURE_TRIANGLES_DISPLACEMENT_MICROMAP_NVvalue to thesType()field. -
pNext
Sets the specified value to thepNext()field. -
displacementBiasAndScaleFormat
public VkAccelerationStructureTrianglesDisplacementMicromapNV displacementBiasAndScaleFormat(int value) Sets the specified value to thedisplacementBiasAndScaleFormat()field. -
displacementVectorFormat
Sets the specified value to thedisplacementVectorFormat()field. -
displacementBiasAndScaleBuffer
public VkAccelerationStructureTrianglesDisplacementMicromapNV displacementBiasAndScaleBuffer(VkDeviceOrHostAddressConstKHR value) Copies the specifiedVkDeviceOrHostAddressConstKHRto thedisplacementBiasAndScaleBuffer()field. -
displacementBiasAndScaleBuffer
public VkAccelerationStructureTrianglesDisplacementMicromapNV displacementBiasAndScaleBuffer(Consumer<VkDeviceOrHostAddressConstKHR> consumer) Passes thedisplacementBiasAndScaleBuffer()field to the specifiedConsumer. -
displacementBiasAndScaleStride
public VkAccelerationStructureTrianglesDisplacementMicromapNV displacementBiasAndScaleStride(long value) Sets the specified value to thedisplacementBiasAndScaleStride()field. -
displacementVectorBuffer
public VkAccelerationStructureTrianglesDisplacementMicromapNV displacementVectorBuffer(VkDeviceOrHostAddressConstKHR value) Copies the specifiedVkDeviceOrHostAddressConstKHRto thedisplacementVectorBuffer()field. -
displacementVectorBuffer
public VkAccelerationStructureTrianglesDisplacementMicromapNV displacementVectorBuffer(Consumer<VkDeviceOrHostAddressConstKHR> consumer) Passes thedisplacementVectorBuffer()field to the specifiedConsumer. -
displacementVectorStride
Sets the specified value to thedisplacementVectorStride()field. -
displacedMicromapPrimitiveFlags
public VkAccelerationStructureTrianglesDisplacementMicromapNV displacedMicromapPrimitiveFlags(VkDeviceOrHostAddressConstKHR value) Copies the specifiedVkDeviceOrHostAddressConstKHRto thedisplacedMicromapPrimitiveFlags()field. -
displacedMicromapPrimitiveFlags
public VkAccelerationStructureTrianglesDisplacementMicromapNV displacedMicromapPrimitiveFlags(Consumer<VkDeviceOrHostAddressConstKHR> consumer) Passes thedisplacedMicromapPrimitiveFlags()field to the specifiedConsumer. -
displacedMicromapPrimitiveFlagsStride
public VkAccelerationStructureTrianglesDisplacementMicromapNV displacedMicromapPrimitiveFlagsStride(long value) Sets the specified value to thedisplacedMicromapPrimitiveFlagsStride()field. -
indexType
Sets the specified value to theindexType()field. -
indexBuffer
public VkAccelerationStructureTrianglesDisplacementMicromapNV indexBuffer(VkDeviceOrHostAddressConstKHR value) Copies the specifiedVkDeviceOrHostAddressConstKHRto theindexBuffer()field. -
indexBuffer
public VkAccelerationStructureTrianglesDisplacementMicromapNV indexBuffer(Consumer<VkDeviceOrHostAddressConstKHR> consumer) Passes theindexBuffer()field to the specifiedConsumer. -
indexStride
Sets the specified value to theindexStride()field. -
baseTriangle
Sets the specified value to thebaseTriangle()field. -
usageCountsCount
Sets the specified value to theusageCountsCount()field. -
pUsageCounts
public VkAccelerationStructureTrianglesDisplacementMicromapNV pUsageCounts(@Nullable VkMicromapUsageEXT.Buffer value) Sets the address of the specifiedVkMicromapUsageEXT.Bufferto thepUsageCounts()field. -
ppUsageCounts
public VkAccelerationStructureTrianglesDisplacementMicromapNV ppUsageCounts(@Nullable org.lwjgl.PointerBuffer value) Sets the address of the specifiedPointerBufferto theppUsageCounts()field. -
micromap
Sets the specified value to themicromap()field. -
set
public VkAccelerationStructureTrianglesDisplacementMicromapNV set(int sType, long pNext, int displacementBiasAndScaleFormat, int displacementVectorFormat, VkDeviceOrHostAddressConstKHR displacementBiasAndScaleBuffer, long displacementBiasAndScaleStride, VkDeviceOrHostAddressConstKHR displacementVectorBuffer, long displacementVectorStride, VkDeviceOrHostAddressConstKHR displacedMicromapPrimitiveFlags, long displacedMicromapPrimitiveFlagsStride, int indexType, VkDeviceOrHostAddressConstKHR indexBuffer, long indexStride, int baseTriangle, int usageCountsCount, @Nullable VkMicromapUsageEXT.Buffer pUsageCounts, @Nullable org.lwjgl.PointerBuffer ppUsageCounts, long micromap) Initializes this struct with the specified values. -
set
public VkAccelerationStructureTrianglesDisplacementMicromapNV set(VkAccelerationStructureTrianglesDisplacementMicromapNV src) Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newVkAccelerationStructureTrianglesDisplacementMicromapNVinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newVkAccelerationStructureTrianglesDisplacementMicromapNVinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newVkAccelerationStructureTrianglesDisplacementMicromapNVinstance allocated withBufferUtils. -
create
Returns a newVkAccelerationStructureTrianglesDisplacementMicromapNVinstance for the specified memory address. -
createSafe
public static @Nullable VkAccelerationStructureTrianglesDisplacementMicromapNV createSafe(long address) -
malloc
Returns a newVkAccelerationStructureTrianglesDisplacementMicromapNV.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newVkAccelerationStructureTrianglesDisplacementMicromapNV.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newVkAccelerationStructureTrianglesDisplacementMicromapNV.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkAccelerationStructureTrianglesDisplacementMicromapNV.Buffer create(long address, int capacity) Create aVkAccelerationStructureTrianglesDisplacementMicromapNV.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
public static @Nullable VkAccelerationStructureTrianglesDisplacementMicromapNV.Buffer createSafe(long address, int capacity) -
malloc
public static VkAccelerationStructureTrianglesDisplacementMicromapNV malloc(org.lwjgl.system.MemoryStack stack) Returns a newVkAccelerationStructureTrianglesDisplacementMicromapNVinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkAccelerationStructureTrianglesDisplacementMicromapNV calloc(org.lwjgl.system.MemoryStack stack) Returns a newVkAccelerationStructureTrianglesDisplacementMicromapNVinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkAccelerationStructureTrianglesDisplacementMicromapNV.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newVkAccelerationStructureTrianglesDisplacementMicromapNV.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
public static VkAccelerationStructureTrianglesDisplacementMicromapNV.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newVkAccelerationStructureTrianglesDisplacementMicromapNV.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
nsType
public static int nsType(long struct) Unsafe version ofsType(). -
npNext
public static long npNext(long struct) Unsafe version ofpNext(). -
ndisplacementBiasAndScaleFormat
public static int ndisplacementBiasAndScaleFormat(long struct) Unsafe version ofdisplacementBiasAndScaleFormat(). -
ndisplacementVectorFormat
public static int ndisplacementVectorFormat(long struct) Unsafe version ofdisplacementVectorFormat(). -
ndisplacementBiasAndScaleBuffer
Unsafe version ofdisplacementBiasAndScaleBuffer(). -
ndisplacementBiasAndScaleStride
public static long ndisplacementBiasAndScaleStride(long struct) Unsafe version ofdisplacementBiasAndScaleStride(). -
ndisplacementVectorBuffer
Unsafe version ofdisplacementVectorBuffer(). -
ndisplacementVectorStride
public static long ndisplacementVectorStride(long struct) Unsafe version ofdisplacementVectorStride(). -
ndisplacedMicromapPrimitiveFlags
Unsafe version ofdisplacedMicromapPrimitiveFlags(). -
ndisplacedMicromapPrimitiveFlagsStride
public static long ndisplacedMicromapPrimitiveFlagsStride(long struct) Unsafe version ofdisplacedMicromapPrimitiveFlagsStride(). -
nindexType
public static int nindexType(long struct) Unsafe version ofindexType(). -
nindexBuffer
Unsafe version ofindexBuffer(). -
nindexStride
public static long nindexStride(long struct) Unsafe version ofindexStride(). -
nbaseTriangle
public static int nbaseTriangle(long struct) Unsafe version ofbaseTriangle(). -
nusageCountsCount
public static int nusageCountsCount(long struct) Unsafe version ofusageCountsCount(). -
npUsageCounts
Unsafe version ofpUsageCounts(). -
nppUsageCounts
public static @Nullable org.lwjgl.PointerBuffer nppUsageCounts(long struct) Unsafe version ofppUsageCounts. -
nmicromap
public static long nmicromap(long struct) Unsafe version ofmicromap(). -
nsType
public static void nsType(long struct, int value) Unsafe version ofsType. -
npNext
public static void npNext(long struct, long value) Unsafe version ofpNext. -
ndisplacementBiasAndScaleFormat
public static void ndisplacementBiasAndScaleFormat(long struct, int value) Unsafe version ofdisplacementBiasAndScaleFormat. -
ndisplacementVectorFormat
public static void ndisplacementVectorFormat(long struct, int value) Unsafe version ofdisplacementVectorFormat. -
ndisplacementBiasAndScaleBuffer
public static void ndisplacementBiasAndScaleBuffer(long struct, VkDeviceOrHostAddressConstKHR value) Unsafe version ofdisplacementBiasAndScaleBuffer. -
ndisplacementBiasAndScaleStride
public static void ndisplacementBiasAndScaleStride(long struct, long value) Unsafe version ofdisplacementBiasAndScaleStride. -
ndisplacementVectorBuffer
Unsafe version ofdisplacementVectorBuffer. -
ndisplacementVectorStride
public static void ndisplacementVectorStride(long struct, long value) Unsafe version ofdisplacementVectorStride. -
ndisplacedMicromapPrimitiveFlags
public static void ndisplacedMicromapPrimitiveFlags(long struct, VkDeviceOrHostAddressConstKHR value) Unsafe version ofdisplacedMicromapPrimitiveFlags. -
ndisplacedMicromapPrimitiveFlagsStride
public static void ndisplacedMicromapPrimitiveFlagsStride(long struct, long value) Unsafe version ofdisplacedMicromapPrimitiveFlagsStride. -
nindexType
public static void nindexType(long struct, int value) Unsafe version ofindexType. -
nindexBuffer
Unsafe version ofindexBuffer. -
nindexStride
public static void nindexStride(long struct, long value) Unsafe version ofindexStride. -
nbaseTriangle
public static void nbaseTriangle(long struct, int value) Unsafe version ofbaseTriangle. -
nusageCountsCount
public static void nusageCountsCount(long struct, int value) Sets the specified value to theusageCountsCountfield of the specifiedstruct. -
npUsageCounts
Unsafe version ofpUsageCounts. -
nppUsageCounts
public static void nppUsageCounts(long struct, @Nullable org.lwjgl.PointerBuffer value) Unsafe version ofppUsageCounts. -
nmicromap
public static void nmicromap(long struct, long value) Unsafe version ofmicromap.
-