Class VkPhysicalDeviceRobustness2FeaturesEXT.Buffer
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.ext.struct.VkPhysicalDeviceRobustness2FeaturesEXT
overrungl.vulkan.ext.struct.VkPhysicalDeviceRobustness2FeaturesEXT.Buffer
- All Implemented Interfaces:
Addressable
- Enclosing class:
VkPhysicalDeviceRobustness2FeaturesEXT
public static final class VkPhysicalDeviceRobustness2FeaturesEXT.Buffer
extends VkPhysicalDeviceRobustness2FeaturesEXT
A buffer of
VkPhysicalDeviceRobustness2FeaturesEXT
.-
Nested Class Summary
Nested classes/interfaces inherited from class overrungl.vulkan.ext.struct.VkPhysicalDeviceRobustness2FeaturesEXT
VkPhysicalDeviceRobustness2FeaturesEXT.Buffer
-
Field Summary
Fields inherited from class overrungl.vulkan.ext.struct.VkPhysicalDeviceRobustness2FeaturesEXT
LAYOUT, LAYOUT_nullDescriptor, LAYOUT_pNext, LAYOUT_robustBufferAccess2, LAYOUT_robustImageAccess2, LAYOUT_sType, OFFSET_nullDescriptor, OFFSET_pNext, OFFSET_robustBufferAccess2, OFFSET_robustImageAccess2, OFFSET_sType, VH_nullDescriptor, VH_pNext, VH_robustBufferAccess2, VH_robustImageAccess2, VH_sType
-
Constructor Summary
ConstructorsConstructorDescriptionBuffer
(MemorySegment segment, long elementCount) CreatesVkPhysicalDeviceRobustness2FeaturesEXT.Buffer
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionasSlice
(long index) Creates a slice ofVkPhysicalDeviceRobustness2FeaturesEXT
.asSlice
(long index, long count) Creates a slice ofVkPhysicalDeviceRobustness2FeaturesEXT
.long
Estimates the element count of this group type buffer.int
nullDescriptorAt
(long index) ReturnsnullDescriptor
at the given index.nullDescriptorAt
(long index, int value) SetsnullDescriptor
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
robustBufferAccess2At
(long index) ReturnsrobustBufferAccess2
at the given index.robustBufferAccess2At
(long index, int value) SetsrobustBufferAccess2
with the given value at the given index.int
robustImageAccess2At
(long index) ReturnsrobustImageAccess2
at the given index.robustImageAccess2At
(long index, int value) SetsrobustImageAccess2
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.ext.struct.VkPhysicalDeviceRobustness2FeaturesEXT
alloc, alloc, asBuffer, copyFrom, nullDescriptor, nullDescriptor, nullDescriptor, nullDescriptor, of, ofNative, ofNative, pNext, pNext, pNext, pNext, robustBufferAccess2, robustBufferAccess2, robustBufferAccess2, robustBufferAccess2, robustImageAccess2, robustImageAccess2, robustImageAccess2, robustImageAccess2, sType, sType, sType, sType
Methods inherited from class overrungl.struct.GroupType
estimateCount, groupLayout, segment
-
Constructor Details
-
Buffer
CreatesVkPhysicalDeviceRobustness2FeaturesEXT.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 ofVkPhysicalDeviceRobustness2FeaturesEXT
.- Parameters:
index
- the index of the struct buffer- Returns:
- the slice of
VkPhysicalDeviceRobustness2FeaturesEXT
-
asSlice
Creates a slice ofVkPhysicalDeviceRobustness2FeaturesEXT
.- Parameters:
index
- the index of the struct buffercount
- the count- Returns:
- the slice of
VkPhysicalDeviceRobustness2FeaturesEXT
-
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
-
robustBufferAccess2At
public int robustBufferAccess2At(long index) ReturnsrobustBufferAccess2
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
robustBufferAccess2
at the given index
-
robustBufferAccess2At
SetsrobustBufferAccess2
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
robustImageAccess2At
public int robustImageAccess2At(long index) ReturnsrobustImageAccess2
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
robustImageAccess2
at the given index
-
robustImageAccess2At
SetsrobustImageAccess2
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
nullDescriptorAt
public int nullDescriptorAt(long index) ReturnsnullDescriptor
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
nullDescriptor
at the given index
-
nullDescriptorAt
SetsnullDescriptor
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-