Class VkPhysicalDevice16BitStorageFeatures.Buffer
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.struct.VkPhysicalDevice16BitStorageFeatures
overrungl.vulkan.struct.VkPhysicalDevice16BitStorageFeatures.Buffer
- All Implemented Interfaces:
Addressable
- Enclosing class:
VkPhysicalDevice16BitStorageFeatures
public static final class VkPhysicalDevice16BitStorageFeatures.Buffer
extends VkPhysicalDevice16BitStorageFeatures
A buffer of
VkPhysicalDevice16BitStorageFeatures
.-
Nested Class Summary
Nested classes/interfaces inherited from class overrungl.vulkan.struct.VkPhysicalDevice16BitStorageFeatures
VkPhysicalDevice16BitStorageFeatures.Buffer
-
Field Summary
Fields inherited from class overrungl.vulkan.struct.VkPhysicalDevice16BitStorageFeatures
LAYOUT, LAYOUT_pNext, LAYOUT_storageBuffer16BitAccess, LAYOUT_storageInputOutput16, LAYOUT_storagePushConstant16, LAYOUT_sType, LAYOUT_uniformAndStorageBuffer16BitAccess, OFFSET_pNext, OFFSET_storageBuffer16BitAccess, OFFSET_storageInputOutput16, OFFSET_storagePushConstant16, OFFSET_sType, OFFSET_uniformAndStorageBuffer16BitAccess, VH_pNext, VH_storageBuffer16BitAccess, VH_storageInputOutput16, VH_storagePushConstant16, VH_sType, VH_uniformAndStorageBuffer16BitAccess
-
Constructor Summary
ConstructorsConstructorDescriptionBuffer
(MemorySegment segment, long elementCount) CreatesVkPhysicalDevice16BitStorageFeatures.Buffer
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionasSlice
(long index) Creates a slice ofVkPhysicalDevice16BitStorageFeatures
.asSlice
(long index, long count) Creates a slice ofVkPhysicalDevice16BitStorageFeatures
.long
Estimates the element count of this group type buffer.pNextAt
(long index) ReturnspNext
at the given index.pNextAt
(long index, MemorySegment value) SetspNext
with the given value at the given index.int
storageBuffer16BitAccessAt
(long index) ReturnsstorageBuffer16BitAccess
at the given index.storageBuffer16BitAccessAt
(long index, int value) SetsstorageBuffer16BitAccess
with the given value at the given index.int
storageInputOutput16At
(long index) ReturnsstorageInputOutput16
at the given index.storageInputOutput16At
(long index, int value) SetsstorageInputOutput16
with the given value at the given index.int
storagePushConstant16At
(long index) ReturnsstoragePushConstant16
at the given index.storagePushConstant16At
(long index, int value) SetsstoragePushConstant16
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
uniformAndStorageBuffer16BitAccessAt
(long index) ReturnsuniformAndStorageBuffer16BitAccess
at the given index.uniformAndStorageBuffer16BitAccessAt
(long index, int value) SetsuniformAndStorageBuffer16BitAccess
with the given value at the given index.Methods inherited from class overrungl.vulkan.struct.VkPhysicalDevice16BitStorageFeatures
alloc, alloc, asBuffer, copyFrom, of, ofNative, ofNative, pNext, pNext, pNext, pNext, storageBuffer16BitAccess, storageBuffer16BitAccess, storageBuffer16BitAccess, storageBuffer16BitAccess, storageInputOutput16, storageInputOutput16, storageInputOutput16, storageInputOutput16, storagePushConstant16, storagePushConstant16, storagePushConstant16, storagePushConstant16, sType, sType, sType, sType, uniformAndStorageBuffer16BitAccess, uniformAndStorageBuffer16BitAccess, uniformAndStorageBuffer16BitAccess, uniformAndStorageBuffer16BitAccess
Methods inherited from class overrungl.struct.GroupType
estimateCount, groupLayout, segment
-
Constructor Details
-
Buffer
CreatesVkPhysicalDevice16BitStorageFeatures.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 ofVkPhysicalDevice16BitStorageFeatures
.- Parameters:
index
- the index of the struct buffer- Returns:
- the slice of
VkPhysicalDevice16BitStorageFeatures
-
asSlice
Creates a slice ofVkPhysicalDevice16BitStorageFeatures
.- Parameters:
index
- the index of the struct buffercount
- the count- Returns:
- the slice of
VkPhysicalDevice16BitStorageFeatures
-
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
-
storageBuffer16BitAccessAt
public int storageBuffer16BitAccessAt(long index) ReturnsstorageBuffer16BitAccess
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
storageBuffer16BitAccess
at the given index
-
storageBuffer16BitAccessAt
public VkPhysicalDevice16BitStorageFeatures.Buffer storageBuffer16BitAccessAt(long index, int value) SetsstorageBuffer16BitAccess
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
uniformAndStorageBuffer16BitAccessAt
public int uniformAndStorageBuffer16BitAccessAt(long index) ReturnsuniformAndStorageBuffer16BitAccess
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
uniformAndStorageBuffer16BitAccess
at the given index
-
uniformAndStorageBuffer16BitAccessAt
public VkPhysicalDevice16BitStorageFeatures.Buffer uniformAndStorageBuffer16BitAccessAt(long index, int value) SetsuniformAndStorageBuffer16BitAccess
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
storagePushConstant16At
public int storagePushConstant16At(long index) ReturnsstoragePushConstant16
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
storagePushConstant16
at the given index
-
storagePushConstant16At
SetsstoragePushConstant16
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
storageInputOutput16At
public int storageInputOutput16At(long index) ReturnsstorageInputOutput16
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
storageInputOutput16
at the given index
-
storageInputOutput16At
SetsstorageInputOutput16
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-