Class VkScreenBufferFormatPropertiesQNX.Buffer
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.qnx.struct.VkScreenBufferFormatPropertiesQNX
overrungl.vulkan.qnx.struct.VkScreenBufferFormatPropertiesQNX.Buffer
- All Implemented Interfaces:
Addressable
- Enclosing class:
VkScreenBufferFormatPropertiesQNX
public static final class VkScreenBufferFormatPropertiesQNX.Buffer
extends VkScreenBufferFormatPropertiesQNX
A buffer of
VkScreenBufferFormatPropertiesQNX
.-
Nested Class Summary
Nested classes/interfaces inherited from class overrungl.vulkan.qnx.struct.VkScreenBufferFormatPropertiesQNX
VkScreenBufferFormatPropertiesQNX.Buffer
-
Field Summary
Fields inherited from class overrungl.vulkan.qnx.struct.VkScreenBufferFormatPropertiesQNX
LAYOUT, LAYOUT_externalFormat, LAYOUT_format, LAYOUT_formatFeatures, LAYOUT_pNext, LAYOUT_samplerYcbcrConversionComponents, LAYOUT_screenUsage, LAYOUT_sType, LAYOUT_suggestedXChromaOffset, LAYOUT_suggestedYcbcrModel, LAYOUT_suggestedYcbcrRange, LAYOUT_suggestedYChromaOffset, OFFSET_externalFormat, OFFSET_format, OFFSET_formatFeatures, OFFSET_pNext, OFFSET_samplerYcbcrConversionComponents, OFFSET_screenUsage, OFFSET_sType, OFFSET_suggestedXChromaOffset, OFFSET_suggestedYcbcrModel, OFFSET_suggestedYcbcrRange, OFFSET_suggestedYChromaOffset, VH_externalFormat, VH_format, VH_formatFeatures, VH_pNext, VH_screenUsage, VH_sType, VH_suggestedXChromaOffset, VH_suggestedYcbcrModel, VH_suggestedYcbcrRange, VH_suggestedYChromaOffset
-
Constructor Summary
ConstructorsConstructorDescriptionBuffer
(MemorySegment segment, long elementCount) CreatesVkScreenBufferFormatPropertiesQNX.Buffer
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionasSlice
(long index) Creates a slice ofVkScreenBufferFormatPropertiesQNX
.asSlice
(long index, long count) Creates a slice ofVkScreenBufferFormatPropertiesQNX
.long
Estimates the element count of this group type buffer.long
externalFormatAt
(long index) ReturnsexternalFormat
at the given index.externalFormatAt
(long index, long value) SetsexternalFormat
with the given value at the given index.int
formatAt
(long index) Returnsformat
at the given index.formatAt
(long index, int value) Setsformat
with the given value at the given index.int
formatFeaturesAt
(long index) ReturnsformatFeatures
at the given index.formatFeaturesAt
(long index, int value) SetsformatFeatures
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.samplerYcbcrConversionComponentsAt
(long index) ReturnssamplerYcbcrConversionComponents
at the given index.samplerYcbcrConversionComponentsAt
(long index, MemorySegment value) SetssamplerYcbcrConversionComponents
with the given value at the given index.long
screenUsageAt
(long index) ReturnsscreenUsage
at the given index.screenUsageAt
(long index, long value) SetsscreenUsage
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
suggestedXChromaOffsetAt
(long index) ReturnssuggestedXChromaOffset
at the given index.suggestedXChromaOffsetAt
(long index, int value) SetssuggestedXChromaOffset
with the given value at the given index.int
suggestedYcbcrModelAt
(long index) ReturnssuggestedYcbcrModel
at the given index.suggestedYcbcrModelAt
(long index, int value) SetssuggestedYcbcrModel
with the given value at the given index.int
suggestedYcbcrRangeAt
(long index) ReturnssuggestedYcbcrRange
at the given index.suggestedYcbcrRangeAt
(long index, int value) SetssuggestedYcbcrRange
with the given value at the given index.int
suggestedYChromaOffsetAt
(long index) ReturnssuggestedYChromaOffset
at the given index.suggestedYChromaOffsetAt
(long index, int value) SetssuggestedYChromaOffset
with the given value at the given index.Methods inherited from class overrungl.vulkan.qnx.struct.VkScreenBufferFormatPropertiesQNX
alloc, alloc, asBuffer, copyFrom, externalFormat, externalFormat, externalFormat, externalFormat, format, format, format, format, formatFeatures, formatFeatures, formatFeatures, formatFeatures, of, ofNative, ofNative, pNext, pNext, pNext, pNext, samplerYcbcrConversionComponents, samplerYcbcrConversionComponents, samplerYcbcrConversionComponents, samplerYcbcrConversionComponents, screenUsage, screenUsage, screenUsage, screenUsage, sType, sType, sType, sType, suggestedXChromaOffset, suggestedXChromaOffset, suggestedXChromaOffset, suggestedXChromaOffset, suggestedYcbcrModel, suggestedYcbcrModel, suggestedYcbcrModel, suggestedYcbcrModel, suggestedYcbcrRange, suggestedYcbcrRange, suggestedYcbcrRange, suggestedYcbcrRange, suggestedYChromaOffset, suggestedYChromaOffset, suggestedYChromaOffset, suggestedYChromaOffset
Methods inherited from class overrungl.struct.GroupType
estimateCount, groupLayout, segment
-
Constructor Details
-
Buffer
CreatesVkScreenBufferFormatPropertiesQNX.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 ofVkScreenBufferFormatPropertiesQNX
.- Parameters:
index
- the index of the struct buffer- Returns:
- the slice of
VkScreenBufferFormatPropertiesQNX
-
asSlice
Creates a slice ofVkScreenBufferFormatPropertiesQNX
.- Parameters:
index
- the index of the struct buffercount
- the count- Returns:
- the slice of
VkScreenBufferFormatPropertiesQNX
-
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
-
formatAt
public int formatAt(long index) Returnsformat
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
format
at the given index
-
formatAt
Setsformat
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
externalFormatAt
public long externalFormatAt(long index) ReturnsexternalFormat
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
externalFormat
at the given index
-
externalFormatAt
SetsexternalFormat
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
screenUsageAt
public long screenUsageAt(long index) ReturnsscreenUsage
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
screenUsage
at the given index
-
screenUsageAt
SetsscreenUsage
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
formatFeaturesAt
public int formatFeaturesAt(long index) ReturnsformatFeatures
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
formatFeatures
at the given index
-
formatFeaturesAt
SetsformatFeatures
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
samplerYcbcrConversionComponentsAt
ReturnssamplerYcbcrConversionComponents
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
samplerYcbcrConversionComponents
at the given index
-
samplerYcbcrConversionComponentsAt
public VkScreenBufferFormatPropertiesQNX.Buffer samplerYcbcrConversionComponentsAt(long index, MemorySegment value) SetssamplerYcbcrConversionComponents
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
suggestedYcbcrModelAt
public int suggestedYcbcrModelAt(long index) ReturnssuggestedYcbcrModel
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
suggestedYcbcrModel
at the given index
-
suggestedYcbcrModelAt
SetssuggestedYcbcrModel
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
suggestedYcbcrRangeAt
public int suggestedYcbcrRangeAt(long index) ReturnssuggestedYcbcrRange
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
suggestedYcbcrRange
at the given index
-
suggestedYcbcrRangeAt
SetssuggestedYcbcrRange
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
suggestedXChromaOffsetAt
public int suggestedXChromaOffsetAt(long index) ReturnssuggestedXChromaOffset
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
suggestedXChromaOffset
at the given index
-
suggestedXChromaOffsetAt
SetssuggestedXChromaOffset
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
suggestedYChromaOffsetAt
public int suggestedYChromaOffsetAt(long index) ReturnssuggestedYChromaOffset
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
suggestedYChromaOffset
at the given index
-
suggestedYChromaOffsetAt
SetssuggestedYChromaOffset
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-