Class VkPhysicalDeviceGroupProperties.Buffer
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.struct.VkPhysicalDeviceGroupProperties
overrungl.vulkan.struct.VkPhysicalDeviceGroupProperties.Buffer
- All Implemented Interfaces:
Addressable
- Enclosing class:
VkPhysicalDeviceGroupProperties
public static final class VkPhysicalDeviceGroupProperties.Buffer
extends VkPhysicalDeviceGroupProperties
A buffer of
VkPhysicalDeviceGroupProperties
.-
Nested Class Summary
Nested classes/interfaces inherited from class overrungl.vulkan.struct.VkPhysicalDeviceGroupProperties
VkPhysicalDeviceGroupProperties.Buffer
-
Field Summary
Fields inherited from class overrungl.vulkan.struct.VkPhysicalDeviceGroupProperties
LAYOUT, LAYOUT_physicalDeviceCount, LAYOUT_physicalDevices, LAYOUT_pNext, LAYOUT_sType, LAYOUT_subsetAllocation, OFFSET_physicalDeviceCount, OFFSET_physicalDevices, OFFSET_pNext, OFFSET_sType, OFFSET_subsetAllocation, VH_physicalDeviceCount, VH_physicalDevices, VH_pNext, VH_sType, VH_subsetAllocation
-
Constructor Summary
ConstructorsConstructorDescriptionBuffer
(MemorySegment segment, long elementCount) CreatesVkPhysicalDeviceGroupProperties.Buffer
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionasSlice
(long index) Creates a slice ofVkPhysicalDeviceGroupProperties
.asSlice
(long index, long count) Creates a slice ofVkPhysicalDeviceGroupProperties
.long
Estimates the element count of this group type buffer.int
physicalDeviceCountAt
(long index) ReturnsphysicalDeviceCount
at the given index.physicalDeviceCountAt
(long index, int value) SetsphysicalDeviceCount
with the given value at the given index.physicalDevicesAt
(long index) ReturnsphysicalDevices
at the given index.physicalDevicesAt
(long index, long index0) ReturnsphysicalDevices
at the given index.physicalDevicesAt
(long index, long index0, MemorySegment value) SetsphysicalDevices
with the given value at the given index.physicalDevicesAt
(long index, MemorySegment value) SetsphysicalDevices
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.int
subsetAllocationAt
(long index) ReturnssubsetAllocation
at the given index.subsetAllocationAt
(long index, int value) SetssubsetAllocation
with the given value at the given index.Methods inherited from class overrungl.vulkan.struct.VkPhysicalDeviceGroupProperties
alloc, alloc, asBuffer, copyFrom, of, ofNative, ofNative, physicalDeviceCount, physicalDeviceCount, physicalDeviceCount, physicalDeviceCount, physicalDevices, physicalDevices, physicalDevices, physicalDevices, physicalDevices, physicalDevices, physicalDevices, physicalDevices, pNext, pNext, pNext, pNext, sType, sType, sType, sType, subsetAllocation, subsetAllocation, subsetAllocation, subsetAllocation
Methods inherited from class overrungl.struct.GroupType
estimateCount, groupLayout, segment
-
Constructor Details
-
Buffer
CreatesVkPhysicalDeviceGroupProperties.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 ofVkPhysicalDeviceGroupProperties
.- Parameters:
index
- the index of the struct buffer- Returns:
- the slice of
VkPhysicalDeviceGroupProperties
-
asSlice
Creates a slice ofVkPhysicalDeviceGroupProperties
.- Parameters:
index
- the index of the struct buffercount
- the count- Returns:
- the slice of
VkPhysicalDeviceGroupProperties
-
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
-
physicalDeviceCountAt
public int physicalDeviceCountAt(long index) ReturnsphysicalDeviceCount
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
physicalDeviceCount
at the given index
-
physicalDeviceCountAt
SetsphysicalDeviceCount
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
physicalDevicesAt
ReturnsphysicalDevices
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
physicalDevices
at the given index
-
physicalDevicesAt
ReturnsphysicalDevices
at the given index.- Parameters:
index
- the index of the struct bufferindex0
- the Index 0 of the array- Returns:
physicalDevices
at the given index
-
physicalDevicesAt
SetsphysicalDevices
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
physicalDevicesAt
public VkPhysicalDeviceGroupProperties.Buffer physicalDevicesAt(long index, long index0, MemorySegment value) SetsphysicalDevices
with the given value at the given index.- Parameters:
index
- the index of the struct bufferindex0
- the Index 0 of the arrayvalue
- the value- Returns:
this
-
subsetAllocationAt
public int subsetAllocationAt(long index) ReturnssubsetAllocation
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
subsetAllocation
at the given index
-
subsetAllocationAt
SetssubsetAllocation
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-