Class VkMicromapBuildInfoEXT
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.ext.struct.VkMicromapBuildInfoEXT
- All Implemented Interfaces:
Addressable
Represents VkMicromapBuildInfoEXT.
Layout
struct VkMicromapBuildInfoEXT {
(int) VkStructureType sType;
const void* pNext;
(int) VkMicromapTypeEXT type;
((uint32_t) VkFlags) VkBuildMicromapFlagsEXT flags;
(int) VkBuildMicromapModeEXT mode;
(uint64_t) VkMicromapEXT dstMicromap;
uint32_t usageCountsCount;
const VkMicromapUsageEXT* pUsageCounts;
const VkMicromapUsageEXT* const * ppUsageCounts;
(union VkDeviceOrHostAddressConstKHR) VkDeviceOrHostAddressConstKHR data;
(union VkDeviceOrHostAddressKHR) VkDeviceOrHostAddressKHR scratchData;
(union VkDeviceOrHostAddressConstKHR) VkDeviceOrHostAddressConstKHR triangleArray;
(uint64_t) VkDeviceSize triangleArrayStride;
};
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StructLayoutThe struct layout ofVkMicromapBuildInfoEXT.static final MemoryLayoutThe memory layout ofdata.static final MemoryLayoutThe memory layout ofdstMicromap.static final MemoryLayoutThe memory layout offlags.static final MemoryLayoutThe memory layout ofmode.static final MemoryLayoutThe memory layout ofpNext.static final MemoryLayoutThe memory layout ofppUsageCounts.static final MemoryLayoutThe memory layout ofpUsageCounts.static final MemoryLayoutThe memory layout ofscratchData.static final MemoryLayoutThe memory layout ofsType.static final MemoryLayoutThe memory layout oftriangleArray.static final MemoryLayoutThe memory layout oftriangleArrayStride.static final MemoryLayoutThe memory layout oftype.static final MemoryLayoutThe memory layout ofusageCountsCount.static final longThe byte offset ofdata.static final longThe byte offset ofdstMicromap.static final longThe byte offset offlags.static final longThe byte offset ofmode.static final longThe byte offset ofpNext.static final longThe byte offset ofppUsageCounts.static final longThe byte offset ofpUsageCounts.static final longThe byte offset ofscratchData.static final longThe byte offset ofsType.static final longThe byte offset oftriangleArray.static final longThe byte offset oftriangleArrayStride.static final longThe byte offset oftype.static final longThe byte offset ofusageCountsCount.static final VarHandleTheVarHandleofdstMicromapof type(MemorySegment base, long baseOffset, long index)MemorySegment.static final VarHandlestatic final VarHandlestatic final VarHandlestatic final VarHandleTheVarHandleofppUsageCountsof type(MemorySegment base, long baseOffset, long index)MemorySegment.static final VarHandleTheVarHandleofpUsageCountsof type(MemorySegment base, long baseOffset, long index)MemorySegment.static final VarHandlestatic final VarHandleTheVarHandleoftriangleArrayStrideof type(MemorySegment base, long baseOffset, long index)MemorySegment.static final VarHandlestatic final VarHandleTheVarHandleofusageCountsCountof type(MemorySegment base, long baseOffset, long index)MemorySegment. -
Constructor Summary
ConstructorsConstructorDescriptionVkMicromapBuildInfoEXT(MemorySegment segment, long elementCount) CreatesVkMicromapBuildInfoEXTwith the given segment. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkMicromapBuildInfoEXTalloc(SegmentAllocator allocator) Allocates aVkMicromapBuildInfoEXTwith the given segment allocator.static VkMicromapBuildInfoEXTalloc(SegmentAllocator allocator, long count) Allocates aVkMicromapBuildInfoEXTwith the given segment allocator and count.asSlice(long index) Creates a slice ofVkMicromapBuildInfoEXT.asSlice(long index, long count) Creates a slice ofVkMicromapBuildInfoEXT.at(long index, Consumer<VkMicromapBuildInfoEXT> func) VisitsVkMicromapBuildInfoEXTbuffer at the given index.Copies from the given source.data()Returnsdata.data(MemorySegment value) Setsdatawith the given value.static MemorySegmentdata(MemorySegment segment, long index) Returnsdataat the given index.static voiddata(MemorySegment segment, long index, MemorySegment value) Setsdatawith the given value at the given index.Acceptsdatawith the given function.dataAt(long index) Returnsdataat the given index.dataAt(long index, MemorySegment value) Setsdatawith the given value at the given index.dataAt(long index, Consumer<VkDeviceOrHostAddressConstKHR> func) Acceptsdatawith the given function.longReturnsdstMicromap.dstMicromap(long value) SetsdstMicromapwith the given value.static longdstMicromap(MemorySegment segment, long index) ReturnsdstMicromapat the given index.static voiddstMicromap(MemorySegment segment, long index, long value) SetsdstMicromapwith the given value at the given index.longdstMicromapAt(long index) ReturnsdstMicromapat the given index.dstMicromapAt(long index, long value) SetsdstMicromapwith the given value at the given index.intflags()Returnsflags.flags(int value) Setsflagswith the given value.static intflags(MemorySegment segment, long index) Returnsflagsat the given index.static voidflags(MemorySegment segment, long index, int value) Setsflagswith the given value at the given index.intflagsAt(long index) Returnsflagsat the given index.flagsAt(long index, int value) Setsflagswith the given value at the given index.intmode()Returnsmode.mode(int value) Setsmodewith the given value.static intmode(MemorySegment segment, long index) Returnsmodeat the given index.static voidmode(MemorySegment segment, long index, int value) Setsmodewith the given value at the given index.intmodeAt(long index) Returnsmodeat the given index.modeAt(long index, int value) Setsmodewith the given value at the given index.static VkMicromapBuildInfoEXTof(MemorySegment segment) CreatesVkMicromapBuildInfoEXTwith the given segment.static VkMicromapBuildInfoEXTofNative(MemorySegment segment) CreatesVkMicromapBuildInfoEXTwith the given segment.static VkMicromapBuildInfoEXTofNative(MemorySegment segment, long count) CreatesVkMicromapBuildInfoEXTwith the given segment.pNext()ReturnspNext.pNext(MemorySegment value) SetspNextwith the given value.static MemorySegmentpNext(MemorySegment segment, long index) ReturnspNextat the given index.static voidpNext(MemorySegment segment, long index, MemorySegment value) SetspNextwith the given value at the given index.pNextAt(long index) ReturnspNextat the given index.pNextAt(long index, MemorySegment value) SetspNextwith the given value at the given index.ReturnsppUsageCounts.ppUsageCounts(MemorySegment value) SetsppUsageCountswith the given value.static MemorySegmentppUsageCounts(MemorySegment segment, long index) ReturnsppUsageCountsat the given index.static voidppUsageCounts(MemorySegment segment, long index, MemorySegment value) SetsppUsageCountswith the given value at the given index.ppUsageCountsAt(long index) ReturnsppUsageCountsat the given index.ppUsageCountsAt(long index, MemorySegment value) SetsppUsageCountswith the given value at the given index.ReturnspUsageCounts.pUsageCounts(MemorySegment value) SetspUsageCountswith the given value.static MemorySegmentpUsageCounts(MemorySegment segment, long index) ReturnspUsageCountsat the given index.static voidpUsageCounts(MemorySegment segment, long index, MemorySegment value) SetspUsageCountswith the given value at the given index.pUsageCountsAt(long index) ReturnspUsageCountsat the given index.pUsageCountsAt(long index, MemorySegment value) SetspUsageCountswith the given value at the given index.reinterpret(long count) Reinterprets this buffer with the given count.ReturnsscratchData.scratchData(MemorySegment value) SetsscratchDatawith the given value.static MemorySegmentscratchData(MemorySegment segment, long index) ReturnsscratchDataat the given index.static voidscratchData(MemorySegment segment, long index, MemorySegment value) SetsscratchDatawith the given value at the given index.AcceptsscratchDatawith the given function.scratchDataAt(long index) ReturnsscratchDataat the given index.scratchDataAt(long index, MemorySegment value) SetsscratchDatawith the given value at the given index.scratchDataAt(long index, Consumer<VkDeviceOrHostAddressKHR> func) AcceptsscratchDatawith the given function.intsType()ReturnssType.sType(int value) SetssTypewith the given value.static intsType(MemorySegment segment, long index) ReturnssTypeat the given index.static voidsType(MemorySegment segment, long index, int value) SetssTypewith the given value at the given index.intsTypeAt(long index) ReturnssTypeat the given index.sTypeAt(long index, int value) SetssTypewith the given value at the given index.ReturnstriangleArray.triangleArray(MemorySegment value) SetstriangleArraywith the given value.static MemorySegmenttriangleArray(MemorySegment segment, long index) ReturnstriangleArrayat the given index.static voidtriangleArray(MemorySegment segment, long index, MemorySegment value) SetstriangleArraywith the given value at the given index.AcceptstriangleArraywith the given function.triangleArrayAt(long index) ReturnstriangleArrayat the given index.triangleArrayAt(long index, MemorySegment value) SetstriangleArraywith the given value at the given index.triangleArrayAt(long index, Consumer<VkDeviceOrHostAddressConstKHR> func) AcceptstriangleArraywith the given function.longReturnstriangleArrayStride.triangleArrayStride(long value) SetstriangleArrayStridewith the given value.static longtriangleArrayStride(MemorySegment segment, long index) ReturnstriangleArrayStrideat the given index.static voidtriangleArrayStride(MemorySegment segment, long index, long value) SetstriangleArrayStridewith the given value at the given index.longtriangleArrayStrideAt(long index) ReturnstriangleArrayStrideat the given index.triangleArrayStrideAt(long index, long value) SetstriangleArrayStridewith the given value at the given index.inttype()Returnstype.type(int value) Setstypewith the given value.static inttype(MemorySegment segment, long index) Returnstypeat the given index.static voidtype(MemorySegment segment, long index, int value) Setstypewith the given value at the given index.inttypeAt(long index) Returnstypeat the given index.typeAt(long index, int value) Setstypewith the given value at the given index.intReturnsusageCountsCount.usageCountsCount(int value) SetsusageCountsCountwith the given value.static intusageCountsCount(MemorySegment segment, long index) ReturnsusageCountsCountat the given index.static voidusageCountsCount(MemorySegment segment, long index, int value) SetsusageCountsCountwith the given value at the given index.intusageCountsCountAt(long index) ReturnsusageCountsCountat the given index.usageCountsCountAt(long index, int value) SetsusageCountsCountwith the given value at the given index.Methods inherited from class GroupType
estimateCount, estimateCount, groupLayout, segment
-
Field Details
-
LAYOUT
The struct layout ofVkMicromapBuildInfoEXT. -
OFFSET_sType
public static final long OFFSET_sTypeThe byte offset ofsType. -
LAYOUT_sType
The memory layout ofsType. -
VH_sType
-
OFFSET_pNext
public static final long OFFSET_pNextThe byte offset ofpNext. -
LAYOUT_pNext
The memory layout ofpNext. -
VH_pNext
-
OFFSET_type
public static final long OFFSET_typeThe byte offset oftype. -
LAYOUT_type
The memory layout oftype. -
VH_type
-
OFFSET_flags
public static final long OFFSET_flagsThe byte offset offlags. -
LAYOUT_flags
The memory layout offlags. -
VH_flags
-
OFFSET_mode
public static final long OFFSET_modeThe byte offset ofmode. -
LAYOUT_mode
The memory layout ofmode. -
VH_mode
-
OFFSET_dstMicromap
public static final long OFFSET_dstMicromapThe byte offset ofdstMicromap. -
LAYOUT_dstMicromap
The memory layout ofdstMicromap. -
VH_dstMicromap
-
OFFSET_usageCountsCount
public static final long OFFSET_usageCountsCountThe byte offset ofusageCountsCount. -
LAYOUT_usageCountsCount
The memory layout ofusageCountsCount. -
VH_usageCountsCount
-
OFFSET_pUsageCounts
public static final long OFFSET_pUsageCountsThe byte offset ofpUsageCounts. -
LAYOUT_pUsageCounts
The memory layout ofpUsageCounts. -
VH_pUsageCounts
-
OFFSET_ppUsageCounts
public static final long OFFSET_ppUsageCountsThe byte offset ofppUsageCounts. -
LAYOUT_ppUsageCounts
The memory layout ofppUsageCounts. -
VH_ppUsageCounts
-
OFFSET_data
public static final long OFFSET_dataThe byte offset ofdata. -
LAYOUT_data
The memory layout ofdata. -
OFFSET_scratchData
public static final long OFFSET_scratchDataThe byte offset ofscratchData. -
LAYOUT_scratchData
The memory layout ofscratchData. -
OFFSET_triangleArray
public static final long OFFSET_triangleArrayThe byte offset oftriangleArray. -
LAYOUT_triangleArray
The memory layout oftriangleArray. -
OFFSET_triangleArrayStride
public static final long OFFSET_triangleArrayStrideThe byte offset oftriangleArrayStride. -
LAYOUT_triangleArrayStride
The memory layout oftriangleArrayStride. -
VH_triangleArrayStride
-
-
Constructor Details
-
VkMicromapBuildInfoEXT
CreatesVkMicromapBuildInfoEXTwith the given segment.- Parameters:
segment- the memory segmentelementCount- the element count of this struct buffer
-
-
Method Details
-
of
CreatesVkMicromapBuildInfoEXTwith the given segment.- Parameters:
segment- the memory segment- Returns:
- the created instance or
nullif the segment isNULL
-
ofNative
Creates
VkMicromapBuildInfoEXTwith the given segment.Reinterprets the segment if zero-length.
- Parameters:
segment- the memory segment- Returns:
- the created instance or
nullif the segment isNULL
-
ofNative
Creates
VkMicromapBuildInfoEXTwith the given segment.Reinterprets the segment if zero-length.
- Parameters:
segment- the memory segmentcount- the count of the buffer- Returns:
- the created instance or
nullif the segment isNULL
-
alloc
Allocates aVkMicromapBuildInfoEXTwith the given segment allocator.- Parameters:
allocator- the segment allocator- Returns:
- the allocated
VkMicromapBuildInfoEXT
-
alloc
Allocates aVkMicromapBuildInfoEXTwith the given segment allocator and count.- Parameters:
allocator- the segment allocatorcount- the count- Returns:
- the allocated
VkMicromapBuildInfoEXT
-
copyFrom
Copies from the given source.- Parameters:
src- the source- Returns:
this
-
reinterpret
Reinterprets this buffer with the given count.- Parameters:
count- the new count- Returns:
- the reinterpreted buffer
-
sType
ReturnssTypeat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
sTypeat the given index
-
sType
public int sType()ReturnssType.- Returns:
sType
-
sType
SetssTypewith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
sType
SetssTypewith the given value.- Parameters:
value- the value- Returns:
this
-
pNext
ReturnspNextat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
pNextat the given index
-
pNext
-
pNext
SetspNextwith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
pNext
SetspNextwith the given value.- Parameters:
value- the value- Returns:
this
-
type
Returnstypeat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
typeat the given index
-
type
public int type()Returnstype.- Returns:
type
-
type
Setstypewith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
type
Setstypewith the given value.- Parameters:
value- the value- Returns:
this
-
flags
Returnsflagsat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
flagsat the given index
-
flags
public int flags()Returnsflags.- Returns:
flags
-
flags
Setsflagswith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
flags
Setsflagswith the given value.- Parameters:
value- the value- Returns:
this
-
mode
Returnsmodeat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
modeat the given index
-
mode
public int mode()Returnsmode.- Returns:
mode
-
mode
Setsmodewith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
mode
Setsmodewith the given value.- Parameters:
value- the value- Returns:
this
-
dstMicromap
ReturnsdstMicromapat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
dstMicromapat the given index
-
dstMicromap
public long dstMicromap()ReturnsdstMicromap.- Returns:
dstMicromap
-
dstMicromap
SetsdstMicromapwith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
dstMicromap
SetsdstMicromapwith the given value.- Parameters:
value- the value- Returns:
this
-
usageCountsCount
ReturnsusageCountsCountat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
usageCountsCountat the given index
-
usageCountsCount
public int usageCountsCount()ReturnsusageCountsCount.- Returns:
usageCountsCount
-
usageCountsCount
SetsusageCountsCountwith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
usageCountsCount
SetsusageCountsCountwith the given value.- Parameters:
value- the value- Returns:
this
-
pUsageCounts
ReturnspUsageCountsat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
pUsageCountsat the given index
-
pUsageCounts
-
pUsageCounts
SetspUsageCountswith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
pUsageCounts
SetspUsageCountswith the given value.- Parameters:
value- the value- Returns:
this
-
ppUsageCounts
ReturnsppUsageCountsat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
ppUsageCountsat the given index
-
ppUsageCounts
-
ppUsageCounts
SetsppUsageCountswith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
ppUsageCounts
SetsppUsageCountswith the given value.- Parameters:
value- the value- Returns:
this
-
data
Returnsdataat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
dataat the given index
-
data
-
data
Setsdatawith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
data
Setsdatawith the given value.- Parameters:
value- the value- Returns:
this
-
data
Acceptsdatawith the given function.- Parameters:
func- the function- Returns:
this
-
scratchData
ReturnsscratchDataat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
scratchDataat the given index
-
scratchData
-
scratchData
SetsscratchDatawith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
scratchData
SetsscratchDatawith the given value.- Parameters:
value- the value- Returns:
this
-
scratchData
AcceptsscratchDatawith the given function.- Parameters:
func- the function- Returns:
this
-
triangleArray
ReturnstriangleArrayat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
triangleArrayat the given index
-
triangleArray
-
triangleArray
SetstriangleArraywith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
triangleArray
SetstriangleArraywith the given value.- Parameters:
value- the value- Returns:
this
-
triangleArray
AcceptstriangleArraywith the given function.- Parameters:
func- the function- Returns:
this
-
triangleArrayStride
ReturnstriangleArrayStrideat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
triangleArrayStrideat the given index
-
triangleArrayStride
public long triangleArrayStride()ReturnstriangleArrayStride.- Returns:
triangleArrayStride
-
triangleArrayStride
SetstriangleArrayStridewith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
triangleArrayStride
SetstriangleArrayStridewith the given value.- Parameters:
value- the value- Returns:
this
-
asSlice
Creates a slice ofVkMicromapBuildInfoEXT.- Parameters:
index- the index of the struct buffer- Returns:
- the slice of
VkMicromapBuildInfoEXT
-
asSlice
Creates a slice ofVkMicromapBuildInfoEXT.- Parameters:
index- the index of the struct buffercount- the count- Returns:
- the slice of
VkMicromapBuildInfoEXT
-
at
VisitsVkMicromapBuildInfoEXTbuffer at the given index.- Parameters:
index- the index of this bufferfunc- the function to run with the slice of this buffer- Returns:
this
-
sTypeAt
public int sTypeAt(long index) ReturnssTypeat the given index.- Parameters:
index- the index of the struct buffer- Returns:
sTypeat the given index
-
sTypeAt
SetssTypewith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
pNextAt
ReturnspNextat the given index.- Parameters:
index- the index of the struct buffer- Returns:
pNextat the given index
-
pNextAt
SetspNextwith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
typeAt
public int typeAt(long index) Returnstypeat the given index.- Parameters:
index- the index of the struct buffer- Returns:
typeat the given index
-
typeAt
Setstypewith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
flagsAt
public int flagsAt(long index) Returnsflagsat the given index.- Parameters:
index- the index of the struct buffer- Returns:
flagsat the given index
-
flagsAt
Setsflagswith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
modeAt
public int modeAt(long index) Returnsmodeat the given index.- Parameters:
index- the index of the struct buffer- Returns:
modeat the given index
-
modeAt
Setsmodewith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
dstMicromapAt
public long dstMicromapAt(long index) ReturnsdstMicromapat the given index.- Parameters:
index- the index of the struct buffer- Returns:
dstMicromapat the given index
-
dstMicromapAt
SetsdstMicromapwith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
usageCountsCountAt
public int usageCountsCountAt(long index) ReturnsusageCountsCountat the given index.- Parameters:
index- the index of the struct buffer- Returns:
usageCountsCountat the given index
-
usageCountsCountAt
SetsusageCountsCountwith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
pUsageCountsAt
ReturnspUsageCountsat the given index.- Parameters:
index- the index of the struct buffer- Returns:
pUsageCountsat the given index
-
pUsageCountsAt
SetspUsageCountswith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
ppUsageCountsAt
ReturnsppUsageCountsat the given index.- Parameters:
index- the index of the struct buffer- Returns:
ppUsageCountsat the given index
-
ppUsageCountsAt
SetsppUsageCountswith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
dataAt
Returnsdataat the given index.- Parameters:
index- the index of the struct buffer- Returns:
dataat the given index
-
dataAt
Setsdatawith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
dataAt
Acceptsdatawith the given function.- Parameters:
index- the index of the struct bufferfunc- the function- Returns:
this
-
scratchDataAt
ReturnsscratchDataat the given index.- Parameters:
index- the index of the struct buffer- Returns:
scratchDataat the given index
-
scratchDataAt
SetsscratchDatawith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
scratchDataAt
AcceptsscratchDatawith the given function.- Parameters:
index- the index of the struct bufferfunc- the function- Returns:
this
-
triangleArrayAt
ReturnstriangleArrayat the given index.- Parameters:
index- the index of the struct buffer- Returns:
triangleArrayat the given index
-
triangleArrayAt
SetstriangleArraywith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
triangleArrayAt
public VkMicromapBuildInfoEXT triangleArrayAt(long index, Consumer<VkDeviceOrHostAddressConstKHR> func) AcceptstriangleArraywith the given function.- Parameters:
index- the index of the struct bufferfunc- the function- Returns:
this
-
triangleArrayStrideAt
public long triangleArrayStrideAt(long index) ReturnstriangleArrayStrideat the given index.- Parameters:
index- the index of the struct buffer- Returns:
triangleArrayStrideat the given index
-
triangleArrayStrideAt
SetstriangleArrayStridewith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-