Class VkScreenBufferFormatPropertiesQNX
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.qnx.struct.VkScreenBufferFormatPropertiesQNX
- All Implemented Interfaces:
Addressable
- Direct Known Subclasses:
VkScreenBufferFormatPropertiesQNX.Buffer
public sealed class VkScreenBufferFormatPropertiesQNX
extends GroupType
permits VkScreenBufferFormatPropertiesQNX.Buffer
Layout
struct VkScreenBufferFormatPropertiesQNX {
(int) VkStructureType sType;
void* pNext;
(int) VkFormat format;
uint64_t externalFormat;
uint64_t screenUsage;
((uint32_t) VkFlags) VkFormatFeatureFlags formatFeatures;
(struct VkComponentMapping) VkComponentMapping samplerYcbcrConversionComponents;
(int) VkSamplerYcbcrModelConversion suggestedYcbcrModel;
(int) VkSamplerYcbcrRange suggestedYcbcrRange;
(int) VkChromaLocation suggestedXChromaOffset;
(int) VkChromaLocation suggestedYChromaOffset;
};
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
A buffer ofVkScreenBufferFormatPropertiesQNX
. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GroupLayout
The struct layout ofVkScreenBufferFormatPropertiesQNX
.static final MemoryLayout
The memory layout ofexternalFormat
.static final MemoryLayout
The memory layout offormat
.static final MemoryLayout
The memory layout offormatFeatures
.static final MemoryLayout
The memory layout ofpNext
.static final MemoryLayout
The memory layout ofsamplerYcbcrConversionComponents
.static final MemoryLayout
The memory layout ofscreenUsage
.static final MemoryLayout
The memory layout ofsType
.static final MemoryLayout
The memory layout ofsuggestedXChromaOffset
.static final MemoryLayout
The memory layout ofsuggestedYcbcrModel
.static final MemoryLayout
The memory layout ofsuggestedYcbcrRange
.static final MemoryLayout
The memory layout ofsuggestedYChromaOffset
.static final long
The byte offset ofexternalFormat
.static final long
The byte offset offormat
.static final long
The byte offset offormatFeatures
.static final long
The byte offset ofpNext
.static final long
The byte offset ofsamplerYcbcrConversionComponents
.static final long
The byte offset ofscreenUsage
.static final long
The byte offset ofsType
.static final long
The byte offset ofsuggestedXChromaOffset
.static final long
The byte offset ofsuggestedYcbcrModel
.static final long
The byte offset ofsuggestedYcbcrRange
.static final long
The byte offset ofsuggestedYChromaOffset
.static final VarHandle
TheVarHandle
ofexternalFormat
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
static final VarHandle
TheVarHandle
offormatFeatures
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
static final VarHandle
TheVarHandle
ofscreenUsage
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
static final VarHandle
TheVarHandle
ofsuggestedXChromaOffset
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
TheVarHandle
ofsuggestedYcbcrModel
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
TheVarHandle
ofsuggestedYcbcrRange
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
TheVarHandle
ofsuggestedYChromaOffset
of type(MemorySegment base, long baseOffset, long index)MemorySegment
. -
Constructor Summary
ConstructorsConstructorDescriptionCreatesVkScreenBufferFormatPropertiesQNX
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionalloc
(SegmentAllocator allocator) Allocates aVkScreenBufferFormatPropertiesQNX
with the given segment allocator.alloc
(SegmentAllocator allocator, long count) Allocates aVkScreenBufferFormatPropertiesQNX
with the given segment allocator and count.asBuffer()
Converts this instance to a buffer.Copies from the given source.long
ReturnsexternalFormat
.externalFormat
(long value) SetsexternalFormat
with the given value.static long
externalFormat
(MemorySegment segment, long index) ReturnsexternalFormat
at the given index.static void
externalFormat
(MemorySegment segment, long index, long value) SetsexternalFormat
with the given value at the given index.int
format()
Returnsformat
.format
(int value) Setsformat
with the given value.static int
format
(MemorySegment segment, long index) Returnsformat
at the given index.static void
format
(MemorySegment segment, long index, int value) Setsformat
with the given value at the given index.int
ReturnsformatFeatures
.formatFeatures
(int value) SetsformatFeatures
with the given value.static int
formatFeatures
(MemorySegment segment, long index) ReturnsformatFeatures
at the given index.static void
formatFeatures
(MemorySegment segment, long index, int value) SetsformatFeatures
with the given value at the given index.of
(MemorySegment segment) CreatesVkScreenBufferFormatPropertiesQNX
with the given segment.ofNative
(MemorySegment segment) CreatesVkScreenBufferFormatPropertiesQNX
with the given segment.ofNative
(MemorySegment segment, long count) CreatesVkScreenBufferFormatPropertiesQNX
with the given segment.pNext()
ReturnspNext
.pNext
(MemorySegment value) SetspNext
with the given value.static MemorySegment
pNext
(MemorySegment segment, long index) ReturnspNext
at the given index.static void
pNext
(MemorySegment segment, long index, MemorySegment value) SetspNext
with the given value at the given index.ReturnssamplerYcbcrConversionComponents
.SetssamplerYcbcrConversionComponents
with the given value.static MemorySegment
samplerYcbcrConversionComponents
(MemorySegment segment, long index) ReturnssamplerYcbcrConversionComponents
at the given index.static void
samplerYcbcrConversionComponents
(MemorySegment segment, long index, MemorySegment value) SetssamplerYcbcrConversionComponents
with the given value at the given index.long
ReturnsscreenUsage
.screenUsage
(long value) SetsscreenUsage
with the given value.static long
screenUsage
(MemorySegment segment, long index) ReturnsscreenUsage
at the given index.static void
screenUsage
(MemorySegment segment, long index, long value) SetsscreenUsage
with the given value at the given index.int
sType()
ReturnssType
.sType
(int value) SetssType
with the given value.static int
sType
(MemorySegment segment, long index) ReturnssType
at the given index.static void
sType
(MemorySegment segment, long index, int value) SetssType
with the given value at the given index.int
ReturnssuggestedXChromaOffset
.suggestedXChromaOffset
(int value) SetssuggestedXChromaOffset
with the given value.static int
suggestedXChromaOffset
(MemorySegment segment, long index) ReturnssuggestedXChromaOffset
at the given index.static void
suggestedXChromaOffset
(MemorySegment segment, long index, int value) SetssuggestedXChromaOffset
with the given value at the given index.int
ReturnssuggestedYcbcrModel
.suggestedYcbcrModel
(int value) SetssuggestedYcbcrModel
with the given value.static int
suggestedYcbcrModel
(MemorySegment segment, long index) ReturnssuggestedYcbcrModel
at the given index.static void
suggestedYcbcrModel
(MemorySegment segment, long index, int value) SetssuggestedYcbcrModel
with the given value at the given index.int
ReturnssuggestedYcbcrRange
.suggestedYcbcrRange
(int value) SetssuggestedYcbcrRange
with the given value.static int
suggestedYcbcrRange
(MemorySegment segment, long index) ReturnssuggestedYcbcrRange
at the given index.static void
suggestedYcbcrRange
(MemorySegment segment, long index, int value) SetssuggestedYcbcrRange
with the given value at the given index.int
ReturnssuggestedYChromaOffset
.suggestedYChromaOffset
(int value) SetssuggestedYChromaOffset
with the given value.static int
suggestedYChromaOffset
(MemorySegment segment, long index) ReturnssuggestedYChromaOffset
at the given index.static void
suggestedYChromaOffset
(MemorySegment segment, long index, int value) SetssuggestedYChromaOffset
with the given value at the given index.Methods inherited from class overrungl.struct.GroupType
estimateCount, estimateCount, groupLayout, segment
-
Field Details
-
LAYOUT
The struct layout ofVkScreenBufferFormatPropertiesQNX
. -
OFFSET_sType
public static final long OFFSET_sTypeThe byte offset ofsType
. -
LAYOUT_sType
The memory layout ofsType
. -
VH_sType
-
OFFSET_pNext
public static final long OFFSET_pNextThe byte offset ofpNext
. -
LAYOUT_pNext
The memory layout ofpNext
. -
VH_pNext
-
OFFSET_format
public static final long OFFSET_formatThe byte offset offormat
. -
LAYOUT_format
The memory layout offormat
. -
VH_format
-
OFFSET_externalFormat
public static final long OFFSET_externalFormatThe byte offset ofexternalFormat
. -
LAYOUT_externalFormat
The memory layout ofexternalFormat
. -
VH_externalFormat
-
OFFSET_screenUsage
public static final long OFFSET_screenUsageThe byte offset ofscreenUsage
. -
LAYOUT_screenUsage
The memory layout ofscreenUsage
. -
VH_screenUsage
-
OFFSET_formatFeatures
public static final long OFFSET_formatFeaturesThe byte offset offormatFeatures
. -
LAYOUT_formatFeatures
The memory layout offormatFeatures
. -
VH_formatFeatures
-
OFFSET_samplerYcbcrConversionComponents
public static final long OFFSET_samplerYcbcrConversionComponentsThe byte offset ofsamplerYcbcrConversionComponents
. -
LAYOUT_samplerYcbcrConversionComponents
The memory layout ofsamplerYcbcrConversionComponents
. -
OFFSET_suggestedYcbcrModel
public static final long OFFSET_suggestedYcbcrModelThe byte offset ofsuggestedYcbcrModel
. -
LAYOUT_suggestedYcbcrModel
The memory layout ofsuggestedYcbcrModel
. -
VH_suggestedYcbcrModel
-
OFFSET_suggestedYcbcrRange
public static final long OFFSET_suggestedYcbcrRangeThe byte offset ofsuggestedYcbcrRange
. -
LAYOUT_suggestedYcbcrRange
The memory layout ofsuggestedYcbcrRange
. -
VH_suggestedYcbcrRange
-
OFFSET_suggestedXChromaOffset
public static final long OFFSET_suggestedXChromaOffsetThe byte offset ofsuggestedXChromaOffset
. -
LAYOUT_suggestedXChromaOffset
The memory layout ofsuggestedXChromaOffset
. -
VH_suggestedXChromaOffset
-
OFFSET_suggestedYChromaOffset
public static final long OFFSET_suggestedYChromaOffsetThe byte offset ofsuggestedYChromaOffset
. -
LAYOUT_suggestedYChromaOffset
The memory layout ofsuggestedYChromaOffset
. -
VH_suggestedYChromaOffset
-
-
Constructor Details
-
VkScreenBufferFormatPropertiesQNX
CreatesVkScreenBufferFormatPropertiesQNX
with the given segment.- Parameters:
segment
- the memory segment
-
-
Method Details
-
of
CreatesVkScreenBufferFormatPropertiesQNX
with the given segment.- Parameters:
segment
- the memory segment- Returns:
- the created instance or
null
if the segment isNULL
-
ofNative
Creates
VkScreenBufferFormatPropertiesQNX
with the given segment.Reinterprets the segment if zero-length.
- Parameters:
segment
- the memory segment- Returns:
- the created instance or
null
if the segment isNULL
-
ofNative
Creates
VkScreenBufferFormatPropertiesQNX
with the given segment.Reinterprets the segment if zero-length.
- Parameters:
segment
- the memory segmentcount
- the count of the buffer- Returns:
- the created instance or
null
if the segment isNULL
-
alloc
Allocates aVkScreenBufferFormatPropertiesQNX
with the given segment allocator.- Parameters:
allocator
- the segment allocator- Returns:
- the allocated
VkScreenBufferFormatPropertiesQNX
-
alloc
public static VkScreenBufferFormatPropertiesQNX.Buffer alloc(SegmentAllocator allocator, long count) Allocates aVkScreenBufferFormatPropertiesQNX
with the given segment allocator and count.- Parameters:
allocator
- the segment allocatorcount
- the count- Returns:
- the allocated
VkScreenBufferFormatPropertiesQNX
-
copyFrom
Copies from the given source.- Parameters:
src
- the source- Returns:
this
-
asBuffer
Converts this instance to a buffer.- Returns:
- the buffer
-
sType
ReturnssType
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
sType
at the given index
-
sType
public int sType()ReturnssType
.- Returns:
sType
-
sType
SetssType
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
sType
SetssType
with the given value.- Parameters:
value
- the value- Returns:
this
-
pNext
ReturnspNext
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
pNext
at the given index
-
pNext
-
pNext
SetspNext
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
pNext
SetspNext
with the given value.- Parameters:
value
- the value- Returns:
this
-
format
Returnsformat
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
format
at the given index
-
format
public int format()Returnsformat
.- Returns:
format
-
format
Setsformat
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
format
Setsformat
with the given value.- Parameters:
value
- the value- Returns:
this
-
externalFormat
ReturnsexternalFormat
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
externalFormat
at the given index
-
externalFormat
public long externalFormat()ReturnsexternalFormat
.- Returns:
externalFormat
-
externalFormat
SetsexternalFormat
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
externalFormat
SetsexternalFormat
with the given value.- Parameters:
value
- the value- Returns:
this
-
screenUsage
ReturnsscreenUsage
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
screenUsage
at the given index
-
screenUsage
public long screenUsage()ReturnsscreenUsage
.- Returns:
screenUsage
-
screenUsage
SetsscreenUsage
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
screenUsage
SetsscreenUsage
with the given value.- Parameters:
value
- the value- Returns:
this
-
formatFeatures
ReturnsformatFeatures
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
formatFeatures
at the given index
-
formatFeatures
public int formatFeatures()ReturnsformatFeatures
.- Returns:
formatFeatures
-
formatFeatures
SetsformatFeatures
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
formatFeatures
SetsformatFeatures
with the given value.- Parameters:
value
- the value- Returns:
this
-
samplerYcbcrConversionComponents
ReturnssamplerYcbcrConversionComponents
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
samplerYcbcrConversionComponents
at the given index
-
samplerYcbcrConversionComponents
ReturnssamplerYcbcrConversionComponents
.- Returns:
samplerYcbcrConversionComponents
-
samplerYcbcrConversionComponents
public static void samplerYcbcrConversionComponents(MemorySegment segment, long index, MemorySegment value) SetssamplerYcbcrConversionComponents
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
samplerYcbcrConversionComponents
SetssamplerYcbcrConversionComponents
with the given value.- Parameters:
value
- the value- Returns:
this
-
suggestedYcbcrModel
ReturnssuggestedYcbcrModel
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
suggestedYcbcrModel
at the given index
-
suggestedYcbcrModel
public int suggestedYcbcrModel()ReturnssuggestedYcbcrModel
.- Returns:
suggestedYcbcrModel
-
suggestedYcbcrModel
SetssuggestedYcbcrModel
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
suggestedYcbcrModel
SetssuggestedYcbcrModel
with the given value.- Parameters:
value
- the value- Returns:
this
-
suggestedYcbcrRange
ReturnssuggestedYcbcrRange
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
suggestedYcbcrRange
at the given index
-
suggestedYcbcrRange
public int suggestedYcbcrRange()ReturnssuggestedYcbcrRange
.- Returns:
suggestedYcbcrRange
-
suggestedYcbcrRange
SetssuggestedYcbcrRange
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
suggestedYcbcrRange
SetssuggestedYcbcrRange
with the given value.- Parameters:
value
- the value- Returns:
this
-
suggestedXChromaOffset
ReturnssuggestedXChromaOffset
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
suggestedXChromaOffset
at the given index
-
suggestedXChromaOffset
public int suggestedXChromaOffset()ReturnssuggestedXChromaOffset
.- Returns:
suggestedXChromaOffset
-
suggestedXChromaOffset
SetssuggestedXChromaOffset
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
suggestedXChromaOffset
SetssuggestedXChromaOffset
with the given value.- Parameters:
value
- the value- Returns:
this
-
suggestedYChromaOffset
ReturnssuggestedYChromaOffset
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
suggestedYChromaOffset
at the given index
-
suggestedYChromaOffset
public int suggestedYChromaOffset()ReturnssuggestedYChromaOffset
.- Returns:
suggestedYChromaOffset
-
suggestedYChromaOffset
SetssuggestedYChromaOffset
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
suggestedYChromaOffset
SetssuggestedYChromaOffset
with the given value.- Parameters:
value
- the value- Returns:
this
-