Class VkDisplayPropertiesKHR.Buffer
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.khr.struct.VkDisplayPropertiesKHR
overrungl.vulkan.khr.struct.VkDisplayPropertiesKHR.Buffer
- All Implemented Interfaces:
Addressable
- Enclosing class:
VkDisplayPropertiesKHR
A buffer of
VkDisplayPropertiesKHR
.-
Nested Class Summary
Nested classes/interfaces inherited from class overrungl.vulkan.khr.struct.VkDisplayPropertiesKHR
VkDisplayPropertiesKHR.Buffer
-
Field Summary
Fields inherited from class overrungl.vulkan.khr.struct.VkDisplayPropertiesKHR
LAYOUT, LAYOUT_display, LAYOUT_displayName, LAYOUT_persistentContent, LAYOUT_physicalDimensions, LAYOUT_physicalResolution, LAYOUT_planeReorderPossible, LAYOUT_supportedTransforms, OFFSET_display, OFFSET_displayName, OFFSET_persistentContent, OFFSET_physicalDimensions, OFFSET_physicalResolution, OFFSET_planeReorderPossible, OFFSET_supportedTransforms, VH_display, VH_displayName, VH_persistentContent, VH_planeReorderPossible, VH_supportedTransforms
-
Constructor Summary
ConstructorsConstructorDescriptionBuffer
(MemorySegment segment, long elementCount) CreatesVkDisplayPropertiesKHR.Buffer
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionasSlice
(long index) Creates a slice ofVkDisplayPropertiesKHR
.asSlice
(long index, long count) Creates a slice ofVkDisplayPropertiesKHR
.long
displayAt
(long index) Returnsdisplay
at the given index.displayAt
(long index, long value) Setsdisplay
with the given value at the given index.displayNameAt
(long index) ReturnsdisplayName
at the given index.displayNameAt
(long index, MemorySegment value) SetsdisplayName
with the given value at the given index.long
Estimates the element count of this group type buffer.int
persistentContentAt
(long index) ReturnspersistentContent
at the given index.persistentContentAt
(long index, int value) SetspersistentContent
with the given value at the given index.physicalDimensionsAt
(long index) ReturnsphysicalDimensions
at the given index.physicalDimensionsAt
(long index, MemorySegment value) SetsphysicalDimensions
with the given value at the given index.physicalResolutionAt
(long index) ReturnsphysicalResolution
at the given index.physicalResolutionAt
(long index, MemorySegment value) SetsphysicalResolution
with the given value at the given index.int
planeReorderPossibleAt
(long index) ReturnsplaneReorderPossible
at the given index.planeReorderPossibleAt
(long index, int value) SetsplaneReorderPossible
with the given value at the given index.int
supportedTransformsAt
(long index) ReturnssupportedTransforms
at the given index.supportedTransformsAt
(long index, int value) SetssupportedTransforms
with the given value at the given index.Methods inherited from class overrungl.vulkan.khr.struct.VkDisplayPropertiesKHR
alloc, alloc, asBuffer, copyFrom, display, display, display, display, displayName, displayName, displayName, displayName, of, ofNative, ofNative, persistentContent, persistentContent, persistentContent, persistentContent, physicalDimensions, physicalDimensions, physicalDimensions, physicalDimensions, physicalResolution, physicalResolution, physicalResolution, physicalResolution, planeReorderPossible, planeReorderPossible, planeReorderPossible, planeReorderPossible, supportedTransforms, supportedTransforms, supportedTransforms, supportedTransforms
Methods inherited from class overrungl.struct.GroupType
estimateCount, groupLayout, segment
-
Constructor Details
-
Buffer
CreatesVkDisplayPropertiesKHR.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 ofVkDisplayPropertiesKHR
.- Parameters:
index
- the index of the struct buffer- Returns:
- the slice of
VkDisplayPropertiesKHR
-
asSlice
Creates a slice ofVkDisplayPropertiesKHR
.- Parameters:
index
- the index of the struct buffercount
- the count- Returns:
- the slice of
VkDisplayPropertiesKHR
-
displayAt
public long displayAt(long index) Returnsdisplay
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
display
at the given index
-
displayAt
Setsdisplay
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
displayNameAt
ReturnsdisplayName
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
displayName
at the given index
-
displayNameAt
SetsdisplayName
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
physicalDimensionsAt
ReturnsphysicalDimensions
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
physicalDimensions
at the given index
-
physicalDimensionsAt
SetsphysicalDimensions
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
physicalResolutionAt
ReturnsphysicalResolution
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
physicalResolution
at the given index
-
physicalResolutionAt
SetsphysicalResolution
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
supportedTransformsAt
public int supportedTransformsAt(long index) ReturnssupportedTransforms
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
supportedTransforms
at the given index
-
supportedTransformsAt
SetssupportedTransforms
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
planeReorderPossibleAt
public int planeReorderPossibleAt(long index) ReturnsplaneReorderPossible
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
planeReorderPossible
at the given index
-
planeReorderPossibleAt
SetsplaneReorderPossible
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
persistentContentAt
public int persistentContentAt(long index) ReturnspersistentContent
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
persistentContent
at the given index
-
persistentContentAt
SetspersistentContent
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-