Contents
Class VmaVirtualBlockCreateInfo.Buffer
java.lang.Object
overrungl.struct.GroupType
overrungl.vma.VmaVirtualBlockCreateInfo
overrungl.vma.VmaVirtualBlockCreateInfo.Buffer
- All Implemented Interfaces:
Addressable
- Enclosing class:
VmaVirtualBlockCreateInfo
A buffer of
VmaVirtualBlockCreateInfo
.-
Nested Class Summary
Nested classes/interfaces inherited from class overrungl.vma.VmaVirtualBlockCreateInfo
VmaVirtualBlockCreateInfo.Buffer
-
Field Summary
Fields inherited from class overrungl.vma.VmaVirtualBlockCreateInfo
LAYOUT, LAYOUT_flags, LAYOUT_pAllocationCallbacks, LAYOUT_size, OFFSET_flags, OFFSET_pAllocationCallbacks, OFFSET_size, VH_flags, VH_pAllocationCallbacks, VH_size
-
Constructor Summary
ConstructorsConstructorDescriptionBuffer
(MemorySegment segment, long elementCount) CreatesVmaVirtualBlockCreateInfo.Buffer
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionasSlice
(long index) Creates a slice ofVmaVirtualBlockCreateInfo
.asSlice
(long index, long count) Creates a slice ofVmaVirtualBlockCreateInfo
.long
Estimates the element count of this group type buffer.int
flagsAt
(long index) Returnsflags
at the given index.flagsAt
(long index, int value) Setsflags
with the given value at the given index.pAllocationCallbacksAt
(long index) ReturnspAllocationCallbacks
at the given index.pAllocationCallbacksAt
(long index, MemorySegment value) SetspAllocationCallbacks
with the given value at the given index.long
sizeAt
(long index) Returnssize
at the given index.sizeAt
(long index, long value) Setssize
with the given value at the given index.Methods inherited from class overrungl.vma.VmaVirtualBlockCreateInfo
alloc, alloc, allocInit, allocInit, allocInit, asBuffer, copyFrom, flags, flags, flags, flags, of, ofNative, ofNative, pAllocationCallbacks, pAllocationCallbacks, pAllocationCallbacks, pAllocationCallbacks, size, size, size, size
Methods inherited from class overrungl.struct.GroupType
estimateCount, groupLayout, segment
-
Constructor Details
-
Method Details
-
estimateCount
public long estimateCount()Description copied from class:GroupType
Estimates the element count of this group type buffer.- Overrides:
estimateCount
in classGroupType
- Returns:
- the estimated element count of the group type buffer
-
asSlice
Creates a slice ofVmaVirtualBlockCreateInfo
.- Parameters:
index
- the index of the struct buffer- Returns:
- the slice of
VmaVirtualBlockCreateInfo
-
asSlice
Creates a slice ofVmaVirtualBlockCreateInfo
.- Parameters:
index
- the index of the struct buffercount
- the count- Returns:
- the slice of
VmaVirtualBlockCreateInfo
-
sizeAt
public long sizeAt(long index) Returnssize
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
size
at the given index
-
sizeAt
Setssize
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
-
pAllocationCallbacksAt
ReturnspAllocationCallbacks
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
pAllocationCallbacks
at the given index
-
pAllocationCallbacksAt
SetspAllocationCallbacks
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-