Class VkPhysicalDeviceIDProperties.Buffer
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.struct.VkPhysicalDeviceIDProperties
overrungl.vulkan.struct.VkPhysicalDeviceIDProperties.Buffer
- All Implemented Interfaces:
Addressable
- Enclosing class:
VkPhysicalDeviceIDProperties
A buffer of
VkPhysicalDeviceIDProperties
.-
Nested Class Summary
Nested classes/interfaces inherited from class overrungl.vulkan.struct.VkPhysicalDeviceIDProperties
VkPhysicalDeviceIDProperties.Buffer
-
Field Summary
Fields inherited from class overrungl.vulkan.struct.VkPhysicalDeviceIDProperties
LAYOUT, LAYOUT_deviceLUID, LAYOUT_deviceLUIDValid, LAYOUT_deviceNodeMask, LAYOUT_deviceUUID, LAYOUT_driverUUID, LAYOUT_pNext, LAYOUT_sType, OFFSET_deviceLUID, OFFSET_deviceLUIDValid, OFFSET_deviceNodeMask, OFFSET_deviceUUID, OFFSET_driverUUID, OFFSET_pNext, OFFSET_sType, VH_deviceLUID, VH_deviceLUIDValid, VH_deviceNodeMask, VH_deviceUUID, VH_driverUUID, VH_pNext, VH_sType
-
Constructor Summary
ConstructorsConstructorDescriptionBuffer
(MemorySegment segment, long elementCount) CreatesVkPhysicalDeviceIDProperties.Buffer
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionasSlice
(long index) Creates a slice ofVkPhysicalDeviceIDProperties
.asSlice
(long index, long count) Creates a slice ofVkPhysicalDeviceIDProperties
.deviceLUIDAt
(long index) ReturnsdeviceLUID
at the given index.byte
deviceLUIDAt
(long index, long index0) ReturnsdeviceLUID
at the given index.deviceLUIDAt
(long index, long index0, byte value) SetsdeviceLUID
with the given value at the given index.deviceLUIDAt
(long index, MemorySegment value) SetsdeviceLUID
with the given value at the given index.int
deviceLUIDValidAt
(long index) ReturnsdeviceLUIDValid
at the given index.deviceLUIDValidAt
(long index, int value) SetsdeviceLUIDValid
with the given value at the given index.int
deviceNodeMaskAt
(long index) ReturnsdeviceNodeMask
at the given index.deviceNodeMaskAt
(long index, int value) SetsdeviceNodeMask
with the given value at the given index.deviceUUIDAt
(long index) ReturnsdeviceUUID
at the given index.byte
deviceUUIDAt
(long index, long index0) ReturnsdeviceUUID
at the given index.deviceUUIDAt
(long index, long index0, byte value) SetsdeviceUUID
with the given value at the given index.deviceUUIDAt
(long index, MemorySegment value) SetsdeviceUUID
with the given value at the given index.driverUUIDAt
(long index) ReturnsdriverUUID
at the given index.byte
driverUUIDAt
(long index, long index0) ReturnsdriverUUID
at the given index.driverUUIDAt
(long index, long index0, byte value) SetsdriverUUID
with the given value at the given index.driverUUIDAt
(long index, MemorySegment value) SetsdriverUUID
with the given value at the given index.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
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.struct.VkPhysicalDeviceIDProperties
alloc, alloc, asBuffer, copyFrom, deviceLUID, deviceLUID, deviceLUID, deviceLUID, deviceLUID, deviceLUID, deviceLUID, deviceLUID, deviceLUIDValid, deviceLUIDValid, deviceLUIDValid, deviceLUIDValid, deviceNodeMask, deviceNodeMask, deviceNodeMask, deviceNodeMask, deviceUUID, deviceUUID, deviceUUID, deviceUUID, deviceUUID, deviceUUID, deviceUUID, deviceUUID, driverUUID, driverUUID, driverUUID, driverUUID, driverUUID, driverUUID, driverUUID, driverUUID, of, ofNative, ofNative, pNext, pNext, pNext, pNext, sType, sType, sType, sType
Methods inherited from class overrungl.struct.GroupType
estimateCount, groupLayout, segment
-
Constructor Details
-
Buffer
CreatesVkPhysicalDeviceIDProperties.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 ofVkPhysicalDeviceIDProperties
.- Parameters:
index
- the index of the struct buffer- Returns:
- the slice of
VkPhysicalDeviceIDProperties
-
asSlice
Creates a slice ofVkPhysicalDeviceIDProperties
.- Parameters:
index
- the index of the struct buffercount
- the count- Returns:
- the slice of
VkPhysicalDeviceIDProperties
-
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
-
deviceUUIDAt
ReturnsdeviceUUID
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
deviceUUID
at the given index
-
deviceUUIDAt
public byte deviceUUIDAt(long index, long index0) ReturnsdeviceUUID
at the given index.- Parameters:
index
- the index of the struct bufferindex0
- the Index 0 of the array- Returns:
deviceUUID
at the given index
-
deviceUUIDAt
SetsdeviceUUID
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
deviceUUIDAt
SetsdeviceUUID
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
-
driverUUIDAt
ReturnsdriverUUID
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
driverUUID
at the given index
-
driverUUIDAt
public byte driverUUIDAt(long index, long index0) ReturnsdriverUUID
at the given index.- Parameters:
index
- the index of the struct bufferindex0
- the Index 0 of the array- Returns:
driverUUID
at the given index
-
driverUUIDAt
SetsdriverUUID
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
driverUUIDAt
SetsdriverUUID
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
-
deviceLUIDAt
ReturnsdeviceLUID
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
deviceLUID
at the given index
-
deviceLUIDAt
public byte deviceLUIDAt(long index, long index0) ReturnsdeviceLUID
at the given index.- Parameters:
index
- the index of the struct bufferindex0
- the Index 0 of the array- Returns:
deviceLUID
at the given index
-
deviceLUIDAt
SetsdeviceLUID
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
deviceLUIDAt
SetsdeviceLUID
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
-
deviceNodeMaskAt
public int deviceNodeMaskAt(long index) ReturnsdeviceNodeMask
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
deviceNodeMask
at the given index
-
deviceNodeMaskAt
SetsdeviceNodeMask
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
deviceLUIDValidAt
public int deviceLUIDValidAt(long index) ReturnsdeviceLUIDValid
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
deviceLUIDValid
at the given index
-
deviceLUIDValidAt
SetsdeviceLUIDValid
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-