Class VkPhysicalDeviceMaintenance9PropertiesKHR.Buffer
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.khr.struct.VkPhysicalDeviceMaintenance9PropertiesKHR
overrungl.vulkan.khr.struct.VkPhysicalDeviceMaintenance9PropertiesKHR.Buffer
- All Implemented Interfaces:
Addressable
- Enclosing class:
VkPhysicalDeviceMaintenance9PropertiesKHR
public static final class VkPhysicalDeviceMaintenance9PropertiesKHR.Buffer
extends VkPhysicalDeviceMaintenance9PropertiesKHR
A buffer of
VkPhysicalDeviceMaintenance9PropertiesKHR
.-
Nested Class Summary
Nested classes/interfaces inherited from class overrungl.vulkan.khr.struct.VkPhysicalDeviceMaintenance9PropertiesKHR
VkPhysicalDeviceMaintenance9PropertiesKHR.Buffer
-
Field Summary
Fields inherited from class overrungl.vulkan.khr.struct.VkPhysicalDeviceMaintenance9PropertiesKHR
LAYOUT, LAYOUT_defaultVertexAttributeValue, LAYOUT_image2DViewOf3DSparse, LAYOUT_pNext, LAYOUT_sType, OFFSET_defaultVertexAttributeValue, OFFSET_image2DViewOf3DSparse, OFFSET_pNext, OFFSET_sType, VH_defaultVertexAttributeValue, VH_image2DViewOf3DSparse, VH_pNext, VH_sType
-
Constructor Summary
ConstructorsConstructorDescriptionBuffer
(MemorySegment segment, long elementCount) CreatesVkPhysicalDeviceMaintenance9PropertiesKHR.Buffer
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionasSlice
(long index) Creates a slice ofVkPhysicalDeviceMaintenance9PropertiesKHR
.asSlice
(long index, long count) Creates a slice ofVkPhysicalDeviceMaintenance9PropertiesKHR
.int
defaultVertexAttributeValueAt
(long index) ReturnsdefaultVertexAttributeValue
at the given index.defaultVertexAttributeValueAt
(long index, int value) SetsdefaultVertexAttributeValue
with the given value at the given index.long
Estimates the element count of this group type buffer.int
image2DViewOf3DSparseAt
(long index) Returnsimage2DViewOf3DSparse
at the given index.image2DViewOf3DSparseAt
(long index, int value) Setsimage2DViewOf3DSparse
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.int
sTypeAt
(long index) ReturnssType
at the given index.sTypeAt
(long index, int value) SetssType
with the given value at the given index.Methods inherited from class overrungl.vulkan.khr.struct.VkPhysicalDeviceMaintenance9PropertiesKHR
alloc, alloc, allocInit, allocInit, allocInit, allocInit, asBuffer, copyFrom, defaultVertexAttributeValue, defaultVertexAttributeValue, defaultVertexAttributeValue, defaultVertexAttributeValue, image2DViewOf3DSparse, image2DViewOf3DSparse, image2DViewOf3DSparse, image2DViewOf3DSparse, of, ofNative, ofNative, pNext, pNext, pNext, pNext, sType, sType, sType, sType
Methods inherited from class overrungl.struct.GroupType
estimateCount, groupLayout, segment
-
Constructor Details
-
Buffer
CreatesVkPhysicalDeviceMaintenance9PropertiesKHR.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 ofVkPhysicalDeviceMaintenance9PropertiesKHR
.- Parameters:
index
- the index of the struct buffer- Returns:
- the slice of
VkPhysicalDeviceMaintenance9PropertiesKHR
-
asSlice
Creates a slice ofVkPhysicalDeviceMaintenance9PropertiesKHR
.- Parameters:
index
- the index of the struct buffercount
- the count- Returns:
- the slice of
VkPhysicalDeviceMaintenance9PropertiesKHR
-
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
-
image2DViewOf3DSparseAt
public int image2DViewOf3DSparseAt(long index) Returnsimage2DViewOf3DSparse
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
image2DViewOf3DSparse
at the given index
-
image2DViewOf3DSparseAt
public VkPhysicalDeviceMaintenance9PropertiesKHR.Buffer image2DViewOf3DSparseAt(long index, int value) Setsimage2DViewOf3DSparse
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
defaultVertexAttributeValueAt
public int defaultVertexAttributeValueAt(long index) ReturnsdefaultVertexAttributeValue
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
defaultVertexAttributeValue
at the given index
-
defaultVertexAttributeValueAt
public VkPhysicalDeviceMaintenance9PropertiesKHR.Buffer defaultVertexAttributeValueAt(long index, int value) SetsdefaultVertexAttributeValue
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-