Class VkMicromapBuildInfoEXT
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.ext.struct.VkMicromapBuildInfoEXT
- All Implemented Interfaces:
Addressable
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 GroupLayout
The struct layout ofVkMicromapBuildInfoEXT
.static final MemoryLayout
The memory layout ofdata
.static final MemoryLayout
The memory layout ofdstMicromap
.static final MemoryLayout
The memory layout offlags
.static final MemoryLayout
The memory layout ofmode
.static final MemoryLayout
The memory layout ofpNext
.static final MemoryLayout
The memory layout ofppUsageCounts
.static final MemoryLayout
The memory layout ofpUsageCounts
.static final MemoryLayout
The memory layout ofscratchData
.static final MemoryLayout
The memory layout ofsType
.static final MemoryLayout
The memory layout oftriangleArray
.static final MemoryLayout
The memory layout oftriangleArrayStride
.static final MemoryLayout
The memory layout oftype
.static final MemoryLayout
The memory layout ofusageCountsCount
.static final long
The byte offset ofdata
.static final long
The byte offset ofdstMicromap
.static final long
The byte offset offlags
.static final long
The byte offset ofmode
.static final long
The byte offset ofpNext
.static final long
The byte offset ofppUsageCounts
.static final long
The byte offset ofpUsageCounts
.static final long
The byte offset ofscratchData
.static final long
The byte offset ofsType
.static final long
The byte offset oftriangleArray
.static final long
The byte offset oftriangleArrayStride
.static final long
The byte offset oftype
.static final long
The byte offset ofusageCountsCount
.static final VarHandle
TheVarHandle
ofdstMicromap
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
static final VarHandle
static final VarHandle
static final VarHandle
TheVarHandle
ofppUsageCounts
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
TheVarHandle
ofpUsageCounts
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
static final VarHandle
TheVarHandle
oftriangleArrayStride
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
static final VarHandle
TheVarHandle
ofusageCountsCount
of type(MemorySegment base, long baseOffset, long index)MemorySegment
. -
Constructor Summary
ConstructorsConstructorDescriptionVkMicromapBuildInfoEXT
(MemorySegment segment, long elementCount) CreatesVkMicromapBuildInfoEXT
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkMicromapBuildInfoEXT
alloc
(SegmentAllocator allocator) Allocates aVkMicromapBuildInfoEXT
with the given segment allocator.static VkMicromapBuildInfoEXT
alloc
(SegmentAllocator allocator, long count) Allocates aVkMicromapBuildInfoEXT
with 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) VisitsVkMicromapBuildInfoEXT
buffer at the given index.Copies from the given source.data()
Returnsdata
.data
(MemorySegment value) Setsdata
with the given value.static MemorySegment
data
(MemorySegment segment, long index) Returnsdata
at the given index.static void
data
(MemorySegment segment, long index, MemorySegment value) Setsdata
with the given value at the given index.Acceptsdata
with the given function.dataAt
(long index) Returnsdata
at the given index.dataAt
(long index, MemorySegment value) Setsdata
with the given value at the given index.dataAt
(long index, Consumer<VkDeviceOrHostAddressConstKHR> func) Acceptsdata
with the given function.long
ReturnsdstMicromap
.dstMicromap
(long value) SetsdstMicromap
with the given value.static long
dstMicromap
(MemorySegment segment, long index) ReturnsdstMicromap
at the given index.static void
dstMicromap
(MemorySegment segment, long index, long value) SetsdstMicromap
with the given value at the given index.long
dstMicromapAt
(long index) ReturnsdstMicromap
at the given index.dstMicromapAt
(long index, long value) SetsdstMicromap
with the given value at the given index.int
flags()
Returnsflags
.flags
(int value) Setsflags
with the given value.static int
flags
(MemorySegment segment, long index) Returnsflags
at the given index.static void
flags
(MemorySegment segment, long index, int value) Setsflags
with the given value at the given index.int
flagsAt
(long index) Returnsflags
at the given index.flagsAt
(long index, int value) Setsflags
with the given value at the given index.int
mode()
Returnsmode
.mode
(int value) Setsmode
with the given value.static int
mode
(MemorySegment segment, long index) Returnsmode
at the given index.static void
mode
(MemorySegment segment, long index, int value) Setsmode
with the given value at the given index.int
modeAt
(long index) Returnsmode
at the given index.modeAt
(long index, int value) Setsmode
with the given value at the given index.static VkMicromapBuildInfoEXT
of
(MemorySegment segment) CreatesVkMicromapBuildInfoEXT
with the given segment.static VkMicromapBuildInfoEXT
ofNative
(MemorySegment segment) CreatesVkMicromapBuildInfoEXT
with the given segment.static VkMicromapBuildInfoEXT
ofNative
(MemorySegment segment, long count) CreatesVkMicromapBuildInfoEXT
with the given segment.pNext()
ReturnspNext
.pNext
(MemorySegment value) SetspNext
with the given value.static MemorySegment
pNext
(MemorySegment segment, long index) ReturnspNext
at the given index.static void
pNext
(MemorySegment segment, long index, MemorySegment value) SetspNext
with the given value at the given index.pNextAt
(long index) ReturnspNext
at the given index.pNextAt
(long index, MemorySegment value) SetspNext
with the given value at the given index.ReturnsppUsageCounts
.ppUsageCounts
(MemorySegment value) SetsppUsageCounts
with the given value.static MemorySegment
ppUsageCounts
(MemorySegment segment, long index) ReturnsppUsageCounts
at the given index.static void
ppUsageCounts
(MemorySegment segment, long index, MemorySegment value) SetsppUsageCounts
with the given value at the given index.ppUsageCountsAt
(long index) ReturnsppUsageCounts
at the given index.ppUsageCountsAt
(long index, MemorySegment value) SetsppUsageCounts
with the given value at the given index.ReturnspUsageCounts
.pUsageCounts
(MemorySegment value) SetspUsageCounts
with the given value.static MemorySegment
pUsageCounts
(MemorySegment segment, long index) ReturnspUsageCounts
at the given index.static void
pUsageCounts
(MemorySegment segment, long index, MemorySegment value) SetspUsageCounts
with the given value at the given index.pUsageCountsAt
(long index) ReturnspUsageCounts
at the given index.pUsageCountsAt
(long index, MemorySegment value) SetspUsageCounts
with the given value at the given index.reinterpret
(long count) Reinterprets this buffer with the given count.ReturnsscratchData
.scratchData
(MemorySegment value) SetsscratchData
with the given value.static MemorySegment
scratchData
(MemorySegment segment, long index) ReturnsscratchData
at the given index.static void
scratchData
(MemorySegment segment, long index, MemorySegment value) SetsscratchData
with the given value at the given index.AcceptsscratchData
with the given function.scratchDataAt
(long index) ReturnsscratchData
at the given index.scratchDataAt
(long index, MemorySegment value) SetsscratchData
with the given value at the given index.scratchDataAt
(long index, Consumer<VkDeviceOrHostAddressKHR> func) AcceptsscratchData
with the given function.int
sType()
ReturnssType
.sType
(int value) SetssType
with the given value.static int
sType
(MemorySegment segment, long index) ReturnssType
at the given index.static void
sType
(MemorySegment segment, long index, int value) SetssType
with the given value at the given index.int
sTypeAt
(long index) ReturnssType
at the given index.sTypeAt
(long index, int value) SetssType
with the given value at the given index.ReturnstriangleArray
.triangleArray
(MemorySegment value) SetstriangleArray
with the given value.static MemorySegment
triangleArray
(MemorySegment segment, long index) ReturnstriangleArray
at the given index.static void
triangleArray
(MemorySegment segment, long index, MemorySegment value) SetstriangleArray
with the given value at the given index.AcceptstriangleArray
with the given function.triangleArrayAt
(long index) ReturnstriangleArray
at the given index.triangleArrayAt
(long index, MemorySegment value) SetstriangleArray
with the given value at the given index.triangleArrayAt
(long index, Consumer<VkDeviceOrHostAddressConstKHR> func) AcceptstriangleArray
with the given function.long
ReturnstriangleArrayStride
.triangleArrayStride
(long value) SetstriangleArrayStride
with the given value.static long
triangleArrayStride
(MemorySegment segment, long index) ReturnstriangleArrayStride
at the given index.static void
triangleArrayStride
(MemorySegment segment, long index, long value) SetstriangleArrayStride
with the given value at the given index.long
triangleArrayStrideAt
(long index) ReturnstriangleArrayStride
at the given index.triangleArrayStrideAt
(long index, long value) SetstriangleArrayStride
with the given value at the given index.int
type()
Returnstype
.type
(int value) Setstype
with the given value.static int
type
(MemorySegment segment, long index) Returnstype
at the given index.static void
type
(MemorySegment segment, long index, int value) Setstype
with the given value at the given index.int
typeAt
(long index) Returnstype
at the given index.typeAt
(long index, int value) Setstype
with the given value at the given index.int
ReturnsusageCountsCount
.usageCountsCount
(int value) SetsusageCountsCount
with the given value.static int
usageCountsCount
(MemorySegment segment, long index) ReturnsusageCountsCount
at the given index.static void
usageCountsCount
(MemorySegment segment, long index, int value) SetsusageCountsCount
with the given value at the given index.int
usageCountsCountAt
(long index) ReturnsusageCountsCount
at the given index.usageCountsCountAt
(long index, int value) SetsusageCountsCount
with the given value at the given index.Methods inherited from class overrungl.struct.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
CreatesVkMicromapBuildInfoEXT
with the given segment.- Parameters:
segment
- the memory segmentelementCount
- the element count of this struct buffer
-
-
Method Details
-
of
CreatesVkMicromapBuildInfoEXT
with the given segment.- Parameters:
segment
- the memory segment- Returns:
- the created instance or
null
if the segment isNULL
-
ofNative
Creates
VkMicromapBuildInfoEXT
with the given segment.Reinterprets the segment if zero-length.
- Parameters:
segment
- the memory segment- Returns:
- the created instance or
null
if the segment isNULL
-
ofNative
Creates
VkMicromapBuildInfoEXT
with the given segment.Reinterprets the segment if zero-length.
- Parameters:
segment
- the memory segmentcount
- the count of the buffer- Returns:
- the created instance or
null
if the segment isNULL
-
alloc
Allocates aVkMicromapBuildInfoEXT
with the given segment allocator.- Parameters:
allocator
- the segment allocator- Returns:
- the allocated
VkMicromapBuildInfoEXT
-
alloc
Allocates aVkMicromapBuildInfoEXT
with 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
ReturnssType
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
sType
at the given index
-
sType
public int sType()ReturnssType
.- Returns:
sType
-
sType
SetssType
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
sType
SetssType
with the given value.- Parameters:
value
- the value- Returns:
this
-
pNext
ReturnspNext
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
pNext
at the given index
-
pNext
-
pNext
SetspNext
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
pNext
SetspNext
with the given value.- Parameters:
value
- the value- Returns:
this
-
type
Returnstype
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
type
at the given index
-
type
public int type()Returnstype
.- Returns:
type
-
type
Setstype
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
type
Setstype
with the given value.- Parameters:
value
- the value- Returns:
this
-
flags
Returnsflags
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
flags
at the given index
-
flags
public int flags()Returnsflags
.- Returns:
flags
-
flags
Setsflags
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
flags
Setsflags
with the given value.- Parameters:
value
- the value- Returns:
this
-
mode
Returnsmode
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
mode
at the given index
-
mode
public int mode()Returnsmode
.- Returns:
mode
-
mode
Setsmode
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
mode
Setsmode
with the given value.- Parameters:
value
- the value- Returns:
this
-
dstMicromap
ReturnsdstMicromap
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
dstMicromap
at the given index
-
dstMicromap
public long dstMicromap()ReturnsdstMicromap
.- Returns:
dstMicromap
-
dstMicromap
SetsdstMicromap
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
dstMicromap
SetsdstMicromap
with the given value.- Parameters:
value
- the value- Returns:
this
-
usageCountsCount
ReturnsusageCountsCount
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
usageCountsCount
at the given index
-
usageCountsCount
public int usageCountsCount()ReturnsusageCountsCount
.- Returns:
usageCountsCount
-
usageCountsCount
SetsusageCountsCount
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
usageCountsCount
SetsusageCountsCount
with the given value.- Parameters:
value
- the value- Returns:
this
-
pUsageCounts
ReturnspUsageCounts
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
pUsageCounts
at the given index
-
pUsageCounts
-
pUsageCounts
SetspUsageCounts
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
pUsageCounts
SetspUsageCounts
with the given value.- Parameters:
value
- the value- Returns:
this
-
ppUsageCounts
ReturnsppUsageCounts
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
ppUsageCounts
at the given index
-
ppUsageCounts
-
ppUsageCounts
SetsppUsageCounts
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
ppUsageCounts
SetsppUsageCounts
with the given value.- Parameters:
value
- the value- Returns:
this
-
data
Returnsdata
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
data
at the given index
-
data
-
data
Setsdata
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
data
Setsdata
with the given value.- Parameters:
value
- the value- Returns:
this
-
data
Acceptsdata
with the given function.- Parameters:
func
- the function- Returns:
this
-
scratchData
ReturnsscratchData
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
scratchData
at the given index
-
scratchData
-
scratchData
SetsscratchData
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
scratchData
SetsscratchData
with the given value.- Parameters:
value
- the value- Returns:
this
-
scratchData
AcceptsscratchData
with the given function.- Parameters:
func
- the function- Returns:
this
-
triangleArray
ReturnstriangleArray
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
triangleArray
at the given index
-
triangleArray
-
triangleArray
SetstriangleArray
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
triangleArray
SetstriangleArray
with the given value.- Parameters:
value
- the value- Returns:
this
-
triangleArray
AcceptstriangleArray
with the given function.- Parameters:
func
- the function- Returns:
this
-
triangleArrayStride
ReturnstriangleArrayStride
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
triangleArrayStride
at the given index
-
triangleArrayStride
public long triangleArrayStride()ReturnstriangleArrayStride
.- Returns:
triangleArrayStride
-
triangleArrayStride
SetstriangleArrayStride
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
triangleArrayStride
SetstriangleArrayStride
with 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
VisitsVkMicromapBuildInfoEXT
buffer 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) ReturnssType
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
sType
at the given index
-
sTypeAt
SetssType
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
pNextAt
ReturnspNext
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
pNext
at the given index
-
pNextAt
SetspNext
with 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) Returnstype
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
type
at the given index
-
typeAt
Setstype
with 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) Returnsflags
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
flags
at the given index
-
flagsAt
Setsflags
with 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) Returnsmode
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
mode
at the given index
-
modeAt
Setsmode
with 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) ReturnsdstMicromap
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
dstMicromap
at the given index
-
dstMicromapAt
SetsdstMicromap
with 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) ReturnsusageCountsCount
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
usageCountsCount
at the given index
-
usageCountsCountAt
SetsusageCountsCount
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
pUsageCountsAt
ReturnspUsageCounts
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
pUsageCounts
at the given index
-
pUsageCountsAt
SetspUsageCounts
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
ppUsageCountsAt
ReturnsppUsageCounts
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
ppUsageCounts
at the given index
-
ppUsageCountsAt
SetsppUsageCounts
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
dataAt
Returnsdata
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
data
at the given index
-
dataAt
Setsdata
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
dataAt
Acceptsdata
with the given function.- Parameters:
index
- the index of the struct bufferfunc
- the function- Returns:
this
-
scratchDataAt
ReturnsscratchData
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
scratchData
at the given index
-
scratchDataAt
SetsscratchData
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
scratchDataAt
AcceptsscratchData
with the given function.- Parameters:
index
- the index of the struct bufferfunc
- the function- Returns:
this
-
triangleArrayAt
ReturnstriangleArray
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
triangleArray
at the given index
-
triangleArrayAt
SetstriangleArray
with 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) AcceptstriangleArray
with the given function.- Parameters:
index
- the index of the struct bufferfunc
- the function- Returns:
this
-
triangleArrayStrideAt
public long triangleArrayStrideAt(long index) ReturnstriangleArrayStride
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
triangleArrayStride
at the given index
-
triangleArrayStrideAt
SetstriangleArrayStride
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-