Package org.lwjgl.vulkan
Class VkAccelerationStructureTrianglesDisplacementMicromapNV
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkAccelerationStructureTrianglesDisplacementMicromapNV>
org.lwjgl.vulkan.VkAccelerationStructureTrianglesDisplacementMicromapNV
- All Implemented Interfaces:
AutoCloseable
,NativeResource
,Pointer
public class VkAccelerationStructureTrianglesDisplacementMicromapNV
extends Struct<VkAccelerationStructureTrianglesDisplacementMicromapNV>
implements NativeResource
struct VkAccelerationStructureTrianglesDisplacementMicromapNV {
VkStructureType sType;
void * pNext;
VkFormat displacementBiasAndScaleFormat;
VkFormat displacementVectorFormat;
{@link VkDeviceOrHostAddressConstKHR VkDeviceOrHostAddressConstKHR} displacementBiasAndScaleBuffer;
VkDeviceSize displacementBiasAndScaleStride;
{@link VkDeviceOrHostAddressConstKHR VkDeviceOrHostAddressConstKHR} displacementVectorBuffer;
VkDeviceSize displacementVectorStride;
{@link VkDeviceOrHostAddressConstKHR VkDeviceOrHostAddressConstKHR} displacedMicromapPrimitiveFlags;
VkDeviceSize displacedMicromapPrimitiveFlagsStride;
VkIndexType indexType;
{@link VkDeviceOrHostAddressConstKHR VkDeviceOrHostAddressConstKHR} indexBuffer;
VkDeviceSize indexStride;
uint32_t baseTriangle;
uint32_t usageCountsCount;
{@link VkMicromapUsageEXT VkMicromapUsageEXT} const * pUsageCounts;
{@link VkMicromapUsageEXT VkMicromapUsageEXT} const * const * ppUsageCounts;
VkMicromapEXT micromap;
}
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
An array ofVkAccelerationStructureTrianglesDisplacementMicromapNV
structs.Nested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The struct alignment in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct size in bytes.static final int
The struct member offsets.static final int
The struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionCreates aVkAccelerationStructureTrianglesDisplacementMicromapNV
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionint
baseTriangle
(int value) Sets the specified value to thebaseTriangle
field.calloc()
Returns a newVkAccelerationStructureTrianglesDisplacementMicromapNV
instance allocated withmemCalloc
.calloc
(int capacity) Returns a newVkAccelerationStructureTrianglesDisplacementMicromapNV.Buffer
instance allocated withmemCalloc
.calloc
(int capacity, MemoryStack stack) Returns a newVkAccelerationStructureTrianglesDisplacementMicromapNV.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.calloc
(MemoryStack stack) Returns a newVkAccelerationStructureTrianglesDisplacementMicromapNV
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.create()
Returns a newVkAccelerationStructureTrianglesDisplacementMicromapNV
instance allocated withBufferUtils
.create
(int capacity) Returns a newVkAccelerationStructureTrianglesDisplacementMicromapNV.Buffer
instance allocated withBufferUtils
.create
(long address) Returns a newVkAccelerationStructureTrianglesDisplacementMicromapNV
instance for the specified memory address.create
(long address, int capacity) Create aVkAccelerationStructureTrianglesDisplacementMicromapNV.Buffer
instance at the specified memory.static @Nullable VkAccelerationStructureTrianglesDisplacementMicromapNV
createSafe
(long address) static @Nullable VkAccelerationStructureTrianglesDisplacementMicromapNV.Buffer
createSafe
(long address, int capacity) Passes thedisplacedMicromapPrimitiveFlags
field to the specifiedConsumer
.Copies the specifiedVkDeviceOrHostAddressConstKHR
to thedisplacedMicromapPrimitiveFlags
field.long
displacedMicromapPrimitiveFlagsStride
(long value) Sets the specified value to thedisplacedMicromapPrimitiveFlagsStride
field.Passes thedisplacementBiasAndScaleBuffer
field to the specifiedConsumer
.Copies the specifiedVkDeviceOrHostAddressConstKHR
to thedisplacementBiasAndScaleBuffer
field.int
displacementBiasAndScaleFormat
(int value) Sets the specified value to thedisplacementBiasAndScaleFormat
field.long
displacementBiasAndScaleStride
(long value) Sets the specified value to thedisplacementBiasAndScaleStride
field.Passes thedisplacementVectorBuffer
field to the specifiedConsumer
.Copies the specifiedVkDeviceOrHostAddressConstKHR
to thedisplacementVectorBuffer
field.int
displacementVectorFormat
(int value) Sets the specified value to thedisplacementVectorFormat
field.long
displacementVectorStride
(long value) Sets the specified value to thedisplacementVectorStride
field.indexBuffer
(Consumer<VkDeviceOrHostAddressConstKHR> consumer) Passes theindexBuffer
field to the specifiedConsumer
.Copies the specifiedVkDeviceOrHostAddressConstKHR
to theindexBuffer
field.long
indexStride
(long value) Sets the specified value to theindexStride
field.int
indexType
(int value) Sets the specified value to theindexType
field.malloc()
Returns a newVkAccelerationStructureTrianglesDisplacementMicromapNV
instance allocated withmemAlloc
.malloc
(int capacity) Returns a newVkAccelerationStructureTrianglesDisplacementMicromapNV.Buffer
instance allocated withmemAlloc
.malloc
(int capacity, MemoryStack stack) Returns a newVkAccelerationStructureTrianglesDisplacementMicromapNV.Buffer
instance allocated on the specifiedMemoryStack
.malloc
(MemoryStack stack) Returns a newVkAccelerationStructureTrianglesDisplacementMicromapNV
instance allocated on the specifiedMemoryStack
.long
micromap()
micromap
(long value) Sets the specified value to themicromap
field.static int
nbaseTriangle
(long struct) Unsafe version ofbaseTriangle()
.static void
nbaseTriangle
(long struct, int value) Unsafe version ofbaseTriangle
.ndisplacedMicromapPrimitiveFlags
(long struct) Unsafe version ofdisplacedMicromapPrimitiveFlags()
.static void
ndisplacedMicromapPrimitiveFlags
(long struct, VkDeviceOrHostAddressConstKHR value) Unsafe version ofdisplacedMicromapPrimitiveFlags
.static long
ndisplacedMicromapPrimitiveFlagsStride
(long struct) Unsafe version ofdisplacedMicromapPrimitiveFlagsStride()
.static void
ndisplacedMicromapPrimitiveFlagsStride
(long struct, long value) Unsafe version ofdisplacedMicromapPrimitiveFlagsStride
.ndisplacementBiasAndScaleBuffer
(long struct) Unsafe version ofdisplacementBiasAndScaleBuffer()
.static void
ndisplacementBiasAndScaleBuffer
(long struct, VkDeviceOrHostAddressConstKHR value) Unsafe version ofdisplacementBiasAndScaleBuffer
.static int
ndisplacementBiasAndScaleFormat
(long struct) Unsafe version ofdisplacementBiasAndScaleFormat()
.static void
ndisplacementBiasAndScaleFormat
(long struct, int value) Unsafe version ofdisplacementBiasAndScaleFormat
.static long
ndisplacementBiasAndScaleStride
(long struct) Unsafe version ofdisplacementBiasAndScaleStride()
.static void
ndisplacementBiasAndScaleStride
(long struct, long value) Unsafe version ofdisplacementBiasAndScaleStride
.ndisplacementVectorBuffer
(long struct) Unsafe version ofdisplacementVectorBuffer()
.static void
ndisplacementVectorBuffer
(long struct, VkDeviceOrHostAddressConstKHR value) Unsafe version ofdisplacementVectorBuffer
.static int
ndisplacementVectorFormat
(long struct) Unsafe version ofdisplacementVectorFormat()
.static void
ndisplacementVectorFormat
(long struct, int value) Unsafe version ofdisplacementVectorFormat
.static long
ndisplacementVectorStride
(long struct) Unsafe version ofdisplacementVectorStride()
.static void
ndisplacementVectorStride
(long struct, long value) Unsafe version ofdisplacementVectorStride
.nindexBuffer
(long struct) Unsafe version ofindexBuffer()
.static void
nindexBuffer
(long struct, VkDeviceOrHostAddressConstKHR value) Unsafe version ofindexBuffer
.static long
nindexStride
(long struct) Unsafe version ofindexStride()
.static void
nindexStride
(long struct, long value) Unsafe version ofindexStride
.static int
nindexType
(long struct) Unsafe version ofindexType()
.static void
nindexType
(long struct, int value) Unsafe version ofindexType
.static long
nmicromap
(long struct) Unsafe version ofmicromap()
.static void
nmicromap
(long struct, long value) Unsafe version ofmicromap
.static long
npNext
(long struct) Unsafe version ofpNext()
.static void
npNext
(long struct, long value) Unsafe version ofpNext
.static @Nullable PointerBuffer
nppUsageCounts
(long struct) Unsafe version ofppUsageCounts
.static void
nppUsageCounts
(long struct, @Nullable PointerBuffer value) Unsafe version ofppUsageCounts
.static @Nullable VkMicromapUsageEXT.Buffer
npUsageCounts
(long struct) Unsafe version ofpUsageCounts()
.static void
npUsageCounts
(long struct, @Nullable VkMicromapUsageEXT.Buffer value) Unsafe version ofpUsageCounts
.static int
nsType
(long struct) Unsafe version ofsType()
.static void
nsType
(long struct, int value) Unsafe version ofsType
.static int
nusageCountsCount
(long struct) Unsafe version ofusageCountsCount()
.static void
nusageCountsCount
(long struct, int value) Sets the specified value to theusageCountsCount
field of the specifiedstruct
.long
pNext()
pNext
(long value) Sets the specified value to thepNext
field.@Nullable PointerBuffer
ppUsageCounts
(@Nullable PointerBuffer value) Sets the address of the specifiedPointerBuffer
to theppUsageCounts
field.@Nullable VkMicromapUsageEXT.Buffer
pUsageCounts
(@Nullable VkMicromapUsageEXT.Buffer value) Sets the address of the specifiedVkMicromapUsageEXT.Buffer
to 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 PointerBuffer ppUsageCounts, long micromap) Initializes this struct with the specified values.Copies the specified struct data to this struct.int
sizeof()
Returnssizeof(struct)
.int
sType()
sType
(int value) Sets the specified value to thesType
field.Sets theSTRUCTURE_TYPE_ACCELERATION_STRUCTURE_TRIANGLES_DISPLACEMENT_MICROMAP_NV
value to thesType
field.int
usageCountsCount
(int value) Sets the specified value to theusageCountsCount
field.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
Methods 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 aVkAccelerationStructureTrianglesDisplacementMicromapNV
instance at the current position of the specifiedByteBuffer
container. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Details
-
sizeof
public int sizeof()Description copied from class:Struct
Returnssizeof(struct)
.- Specified by:
sizeof
in classStruct<VkAccelerationStructureTrianglesDisplacementMicromapNV>
-
sType
public int sType()- Returns:
- the value of the
sType
field.
-
pNext
public long pNext()- Returns:
- the value of the
pNext
field.
-
displacementBiasAndScaleFormat
public int displacementBiasAndScaleFormat()- Returns:
- the value of the
displacementBiasAndScaleFormat
field.
-
displacementVectorFormat
public int displacementVectorFormat()- Returns:
- the value of the
displacementVectorFormat
field.
-
displacementBiasAndScaleBuffer
- Returns:
- a
VkDeviceOrHostAddressConstKHR
view of thedisplacementBiasAndScaleBuffer
field.
-
displacementBiasAndScaleStride
public long displacementBiasAndScaleStride()- Returns:
- the value of the
displacementBiasAndScaleStride
field.
-
displacementVectorBuffer
- Returns:
- a
VkDeviceOrHostAddressConstKHR
view of thedisplacementVectorBuffer
field.
-
displacementVectorStride
public long displacementVectorStride()- Returns:
- the value of the
displacementVectorStride
field.
-
displacedMicromapPrimitiveFlags
- Returns:
- a
VkDeviceOrHostAddressConstKHR
view of thedisplacedMicromapPrimitiveFlags
field.
-
displacedMicromapPrimitiveFlagsStride
public long displacedMicromapPrimitiveFlagsStride()- Returns:
- the value of the
displacedMicromapPrimitiveFlagsStride
field.
-
indexType
public int indexType()- Returns:
- the value of the
indexType
field.
-
indexBuffer
- Returns:
- a
VkDeviceOrHostAddressConstKHR
view of theindexBuffer
field.
-
indexStride
public long indexStride()- Returns:
- the value of the
indexStride
field.
-
baseTriangle
public int baseTriangle()- Returns:
- the value of the
baseTriangle
field.
-
usageCountsCount
public int usageCountsCount()- Returns:
- the value of the
usageCountsCount
field.
-
pUsageCounts
- Returns:
- a
VkMicromapUsageEXT.Buffer
view of the struct array pointed to by thepUsageCounts
field.
-
ppUsageCounts
- Returns:
- a
PointerBuffer
view of the data pointed to by theppUsageCounts
field.
-
micromap
public long micromap()- Returns:
- the value of the
micromap
field.
-
sType
Sets the specified value to thesType
field. -
sType$Default
Sets theSTRUCTURE_TYPE_ACCELERATION_STRUCTURE_TRIANGLES_DISPLACEMENT_MICROMAP_NV
value 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 specifiedVkDeviceOrHostAddressConstKHR
to 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 specifiedVkDeviceOrHostAddressConstKHR
to 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 specifiedVkDeviceOrHostAddressConstKHR
to 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 specifiedVkDeviceOrHostAddressConstKHR
to 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.Buffer
to thepUsageCounts
field. -
ppUsageCounts
public VkAccelerationStructureTrianglesDisplacementMicromapNV ppUsageCounts(@Nullable PointerBuffer value) Sets the address of the specifiedPointerBuffer
to 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 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 newVkAccelerationStructureTrianglesDisplacementMicromapNV
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newVkAccelerationStructureTrianglesDisplacementMicromapNV
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newVkAccelerationStructureTrianglesDisplacementMicromapNV
instance allocated withBufferUtils
. -
create
Returns a newVkAccelerationStructureTrianglesDisplacementMicromapNV
instance for the specified memory address. -
createSafe
public static @Nullable VkAccelerationStructureTrianglesDisplacementMicromapNV createSafe(long address) -
malloc
Returns a newVkAccelerationStructureTrianglesDisplacementMicromapNV.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newVkAccelerationStructureTrianglesDisplacementMicromapNV.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newVkAccelerationStructureTrianglesDisplacementMicromapNV.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static VkAccelerationStructureTrianglesDisplacementMicromapNV.Buffer create(long address, int capacity) Create aVkAccelerationStructureTrianglesDisplacementMicromapNV.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
public static @Nullable VkAccelerationStructureTrianglesDisplacementMicromapNV.Buffer createSafe(long address, int capacity) -
malloc
Returns a newVkAccelerationStructureTrianglesDisplacementMicromapNV
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newVkAccelerationStructureTrianglesDisplacementMicromapNV
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
public static VkAccelerationStructureTrianglesDisplacementMicromapNV.Buffer malloc(int capacity, MemoryStack stack) Returns a newVkAccelerationStructureTrianglesDisplacementMicromapNV.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
public static VkAccelerationStructureTrianglesDisplacementMicromapNV.Buffer calloc(int capacity, MemoryStack stack) Returns a newVkAccelerationStructureTrianglesDisplacementMicromapNV.Buffer
instance allocated on the specifiedMemoryStack
and 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
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 theusageCountsCount
field of the specifiedstruct
. -
npUsageCounts
Unsafe version ofpUsageCounts
. -
nppUsageCounts
Unsafe version ofppUsageCounts
. -
nmicromap
public static void nmicromap(long struct, long value) Unsafe version ofmicromap
.
-