Class VkDeviceMemoryReportCallbackDataEXT.Buffer
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.ext.struct.VkDeviceMemoryReportCallbackDataEXT
overrungl.vulkan.ext.struct.VkDeviceMemoryReportCallbackDataEXT.Buffer
- All Implemented Interfaces:
Addressable
- Enclosing class:
VkDeviceMemoryReportCallbackDataEXT
public static final class VkDeviceMemoryReportCallbackDataEXT.Buffer
extends VkDeviceMemoryReportCallbackDataEXT
A buffer of
VkDeviceMemoryReportCallbackDataEXT
.-
Nested Class Summary
Nested classes/interfaces inherited from class overrungl.vulkan.ext.struct.VkDeviceMemoryReportCallbackDataEXT
VkDeviceMemoryReportCallbackDataEXT.Buffer
-
Field Summary
Fields inherited from class overrungl.vulkan.ext.struct.VkDeviceMemoryReportCallbackDataEXT
LAYOUT, LAYOUT_flags, LAYOUT_heapIndex, LAYOUT_memoryObjectId, LAYOUT_objectHandle, LAYOUT_objectType, LAYOUT_pNext, LAYOUT_size, LAYOUT_sType, LAYOUT_type, OFFSET_flags, OFFSET_heapIndex, OFFSET_memoryObjectId, OFFSET_objectHandle, OFFSET_objectType, OFFSET_pNext, OFFSET_size, OFFSET_sType, OFFSET_type, VH_flags, VH_heapIndex, VH_memoryObjectId, VH_objectHandle, VH_objectType, VH_pNext, VH_size, VH_sType, VH_type
-
Constructor Summary
ConstructorsConstructorDescriptionBuffer
(MemorySegment segment, long elementCount) CreatesVkDeviceMemoryReportCallbackDataEXT.Buffer
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionasSlice
(long index) Creates a slice ofVkDeviceMemoryReportCallbackDataEXT
.asSlice
(long index, long count) Creates a slice ofVkDeviceMemoryReportCallbackDataEXT
.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.int
heapIndexAt
(long index) ReturnsheapIndex
at the given index.heapIndexAt
(long index, int value) SetsheapIndex
with the given value at the given index.long
memoryObjectIdAt
(long index) ReturnsmemoryObjectId
at the given index.memoryObjectIdAt
(long index, long value) SetsmemoryObjectId
with the given value at the given index.long
objectHandleAt
(long index) ReturnsobjectHandle
at the given index.objectHandleAt
(long index, long value) SetsobjectHandle
with the given value at the given index.int
objectTypeAt
(long index) ReturnsobjectType
at the given index.objectTypeAt
(long index, int value) SetsobjectType
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.long
sizeAt
(long index) Returnssize
at the given index.sizeAt
(long index, long value) Setssize
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.int
typeAt
(long index) Returnstype
at the given index.typeAt
(long index, int value) Setstype
with the given value at the given index.Methods inherited from class overrungl.vulkan.ext.struct.VkDeviceMemoryReportCallbackDataEXT
alloc, alloc, asBuffer, copyFrom, flags, flags, flags, flags, heapIndex, heapIndex, heapIndex, heapIndex, memoryObjectId, memoryObjectId, memoryObjectId, memoryObjectId, objectHandle, objectHandle, objectHandle, objectHandle, objectType, objectType, objectType, objectType, of, ofNative, ofNative, pNext, pNext, pNext, pNext, size, size, size, size, sType, sType, sType, sType, type, type, type, type
Methods inherited from class overrungl.struct.GroupType
estimateCount, groupLayout, segment
-
Constructor Details
-
Buffer
CreatesVkDeviceMemoryReportCallbackDataEXT.Buffer
with the given segment.- Parameters:
segment
- the memory segmentelementCount
- the element count
-
-
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 ofVkDeviceMemoryReportCallbackDataEXT
.- Parameters:
index
- the index of the struct buffer- Returns:
- the slice of
VkDeviceMemoryReportCallbackDataEXT
-
asSlice
Creates a slice ofVkDeviceMemoryReportCallbackDataEXT
.- Parameters:
index
- the index of the struct buffercount
- the count- Returns:
- the slice of
VkDeviceMemoryReportCallbackDataEXT
-
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
-
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
-
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
-
memoryObjectIdAt
public long memoryObjectIdAt(long index) ReturnsmemoryObjectId
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
memoryObjectId
at the given index
-
memoryObjectIdAt
SetsmemoryObjectId
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
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
-
objectTypeAt
public int objectTypeAt(long index) ReturnsobjectType
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
objectType
at the given index
-
objectTypeAt
SetsobjectType
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
objectHandleAt
public long objectHandleAt(long index) ReturnsobjectHandle
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
objectHandle
at the given index
-
objectHandleAt
SetsobjectHandle
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
heapIndexAt
public int heapIndexAt(long index) ReturnsheapIndex
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
heapIndex
at the given index
-
heapIndexAt
SetsheapIndex
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-