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;
};
  • Field Details

    • LAYOUT

      public static final GroupLayout LAYOUT
      The struct layout of VkScreenBufferFormatPropertiesQNX.
    • OFFSET_sType

      public static final long OFFSET_sType
      The byte offset of sType.
    • LAYOUT_sType

      public static final MemoryLayout LAYOUT_sType
      The memory layout of sType.
    • VH_sType

      public static final VarHandle VH_sType
      The VarHandle of sType of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_pNext

      public static final long OFFSET_pNext
      The byte offset of pNext.
    • LAYOUT_pNext

      public static final MemoryLayout LAYOUT_pNext
      The memory layout of pNext.
    • VH_pNext

      public static final VarHandle VH_pNext
      The VarHandle of pNext of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_format

      public static final long OFFSET_format
      The byte offset of format.
    • LAYOUT_format

      public static final MemoryLayout LAYOUT_format
      The memory layout of format.
    • VH_format

      public static final VarHandle VH_format
      The VarHandle of format of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_externalFormat

      public static final long OFFSET_externalFormat
      The byte offset of externalFormat.
    • LAYOUT_externalFormat

      public static final MemoryLayout LAYOUT_externalFormat
      The memory layout of externalFormat.
    • VH_externalFormat

      public static final VarHandle VH_externalFormat
      The VarHandle of externalFormat of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_screenUsage

      public static final long OFFSET_screenUsage
      The byte offset of screenUsage.
    • LAYOUT_screenUsage

      public static final MemoryLayout LAYOUT_screenUsage
      The memory layout of screenUsage.
    • VH_screenUsage

      public static final VarHandle VH_screenUsage
      The VarHandle of screenUsage of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_formatFeatures

      public static final long OFFSET_formatFeatures
      The byte offset of formatFeatures.
    • LAYOUT_formatFeatures

      public static final MemoryLayout LAYOUT_formatFeatures
      The memory layout of formatFeatures.
    • VH_formatFeatures

      public static final VarHandle VH_formatFeatures
      The VarHandle of formatFeatures of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_samplerYcbcrConversionComponents

      public static final long OFFSET_samplerYcbcrConversionComponents
      The byte offset of samplerYcbcrConversionComponents.
    • LAYOUT_samplerYcbcrConversionComponents

      public static final MemoryLayout LAYOUT_samplerYcbcrConversionComponents
      The memory layout of samplerYcbcrConversionComponents.
    • OFFSET_suggestedYcbcrModel

      public static final long OFFSET_suggestedYcbcrModel
      The byte offset of suggestedYcbcrModel.
    • LAYOUT_suggestedYcbcrModel

      public static final MemoryLayout LAYOUT_suggestedYcbcrModel
      The memory layout of suggestedYcbcrModel.
    • VH_suggestedYcbcrModel

      public static final VarHandle VH_suggestedYcbcrModel
      The VarHandle of suggestedYcbcrModel of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_suggestedYcbcrRange

      public static final long OFFSET_suggestedYcbcrRange
      The byte offset of suggestedYcbcrRange.
    • LAYOUT_suggestedYcbcrRange

      public static final MemoryLayout LAYOUT_suggestedYcbcrRange
      The memory layout of suggestedYcbcrRange.
    • VH_suggestedYcbcrRange

      public static final VarHandle VH_suggestedYcbcrRange
      The VarHandle of suggestedYcbcrRange of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_suggestedXChromaOffset

      public static final long OFFSET_suggestedXChromaOffset
      The byte offset of suggestedXChromaOffset.
    • LAYOUT_suggestedXChromaOffset

      public static final MemoryLayout LAYOUT_suggestedXChromaOffset
      The memory layout of suggestedXChromaOffset.
    • VH_suggestedXChromaOffset

      public static final VarHandle VH_suggestedXChromaOffset
      The VarHandle of suggestedXChromaOffset of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_suggestedYChromaOffset

      public static final long OFFSET_suggestedYChromaOffset
      The byte offset of suggestedYChromaOffset.
    • LAYOUT_suggestedYChromaOffset

      public static final MemoryLayout LAYOUT_suggestedYChromaOffset
      The memory layout of suggestedYChromaOffset.
    • VH_suggestedYChromaOffset

      public static final VarHandle VH_suggestedYChromaOffset
      The VarHandle of suggestedYChromaOffset of type (MemorySegment base, long baseOffset, long index)MemorySegment.
  • Constructor Details

    • VkScreenBufferFormatPropertiesQNX

      public VkScreenBufferFormatPropertiesQNX(MemorySegment segment)
      Creates VkScreenBufferFormatPropertiesQNX with the given segment.
      Parameters:
      segment - the memory segment
  • Method Details

    • of

      Creates VkScreenBufferFormatPropertiesQNX with the given segment.
      Parameters:
      segment - the memory segment
      Returns:
      the created instance or null if the segment is NULL
    • ofNative

      public static VkScreenBufferFormatPropertiesQNX ofNative(MemorySegment segment)

      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 is NULL
    • ofNative

      public static VkScreenBufferFormatPropertiesQNX.Buffer ofNative(MemorySegment segment, long count)

      Creates VkScreenBufferFormatPropertiesQNX with the given segment.

      Reinterprets the segment if zero-length.

      Parameters:
      segment - the memory segment
      count - the count of the buffer
      Returns:
      the created instance or null if the segment is NULL
    • alloc

      public static VkScreenBufferFormatPropertiesQNX alloc(SegmentAllocator allocator)
      Allocates a VkScreenBufferFormatPropertiesQNX 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 a VkScreenBufferFormatPropertiesQNX with the given segment allocator and count.
      Parameters:
      allocator - the segment allocator
      count - 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

      public static int sType(MemorySegment segment, long index)
      Returns sType at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      sType at the given index
    • sType

      public int sType()
      Returns sType.
      Returns:
      sType
    • sType

      public static void sType(MemorySegment segment, long index, int value)
      Sets sType with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • sType

      public VkScreenBufferFormatPropertiesQNX sType(int value)
      Sets sType with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • pNext

      public static MemorySegment pNext(MemorySegment segment, long index)
      Returns pNext at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      pNext at the given index
    • pNext

      public MemorySegment pNext()
      Returns pNext.
      Returns:
      pNext
    • pNext

      public static void pNext(MemorySegment segment, long index, MemorySegment value)
      Sets pNext with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • pNext

      Sets pNext with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • format

      public static int format(MemorySegment segment, long index)
      Returns format at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      format at the given index
    • format

      public int format()
      Returns format.
      Returns:
      format
    • format

      public static void format(MemorySegment segment, long index, int value)
      Sets format with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • format

      public VkScreenBufferFormatPropertiesQNX format(int value)
      Sets format with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • externalFormat

      public static long externalFormat(MemorySegment segment, long index)
      Returns externalFormat at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      externalFormat at the given index
    • externalFormat

      public long externalFormat()
      Returns externalFormat.
      Returns:
      externalFormat
    • externalFormat

      public static void externalFormat(MemorySegment segment, long index, long value)
      Sets externalFormat with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • externalFormat

      public VkScreenBufferFormatPropertiesQNX externalFormat(long value)
      Sets externalFormat with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • screenUsage

      public static long screenUsage(MemorySegment segment, long index)
      Returns screenUsage at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      screenUsage at the given index
    • screenUsage

      public long screenUsage()
      Returns screenUsage.
      Returns:
      screenUsage
    • screenUsage

      public static void screenUsage(MemorySegment segment, long index, long value)
      Sets screenUsage with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • screenUsage

      public VkScreenBufferFormatPropertiesQNX screenUsage(long value)
      Sets screenUsage with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • formatFeatures

      public static int formatFeatures(MemorySegment segment, long index)
      Returns formatFeatures at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      formatFeatures at the given index
    • formatFeatures

      public int formatFeatures()
      Returns formatFeatures.
      Returns:
      formatFeatures
    • formatFeatures

      public static void formatFeatures(MemorySegment segment, long index, int value)
      Sets formatFeatures with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • formatFeatures

      public VkScreenBufferFormatPropertiesQNX formatFeatures(int value)
      Sets formatFeatures with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • samplerYcbcrConversionComponents

      public static MemorySegment samplerYcbcrConversionComponents(MemorySegment segment, long index)
      Returns samplerYcbcrConversionComponents at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      samplerYcbcrConversionComponents at the given index
    • samplerYcbcrConversionComponents

      public MemorySegment samplerYcbcrConversionComponents()
      Returns samplerYcbcrConversionComponents.
      Returns:
      samplerYcbcrConversionComponents
    • samplerYcbcrConversionComponents

      public static void samplerYcbcrConversionComponents(MemorySegment segment, long index, MemorySegment value)
      Sets samplerYcbcrConversionComponents with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • samplerYcbcrConversionComponents

      public VkScreenBufferFormatPropertiesQNX samplerYcbcrConversionComponents(MemorySegment value)
      Sets samplerYcbcrConversionComponents with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • suggestedYcbcrModel

      public static int suggestedYcbcrModel(MemorySegment segment, long index)
      Returns suggestedYcbcrModel at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      suggestedYcbcrModel at the given index
    • suggestedYcbcrModel

      public int suggestedYcbcrModel()
      Returns suggestedYcbcrModel.
      Returns:
      suggestedYcbcrModel
    • suggestedYcbcrModel

      public static void suggestedYcbcrModel(MemorySegment segment, long index, int value)
      Sets suggestedYcbcrModel with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • suggestedYcbcrModel

      public VkScreenBufferFormatPropertiesQNX suggestedYcbcrModel(int value)
      Sets suggestedYcbcrModel with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • suggestedYcbcrRange

      public static int suggestedYcbcrRange(MemorySegment segment, long index)
      Returns suggestedYcbcrRange at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      suggestedYcbcrRange at the given index
    • suggestedYcbcrRange

      public int suggestedYcbcrRange()
      Returns suggestedYcbcrRange.
      Returns:
      suggestedYcbcrRange
    • suggestedYcbcrRange

      public static void suggestedYcbcrRange(MemorySegment segment, long index, int value)
      Sets suggestedYcbcrRange with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • suggestedYcbcrRange

      public VkScreenBufferFormatPropertiesQNX suggestedYcbcrRange(int value)
      Sets suggestedYcbcrRange with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • suggestedXChromaOffset

      public static int suggestedXChromaOffset(MemorySegment segment, long index)
      Returns suggestedXChromaOffset at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      suggestedXChromaOffset at the given index
    • suggestedXChromaOffset

      public int suggestedXChromaOffset()
      Returns suggestedXChromaOffset.
      Returns:
      suggestedXChromaOffset
    • suggestedXChromaOffset

      public static void suggestedXChromaOffset(MemorySegment segment, long index, int value)
      Sets suggestedXChromaOffset with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • suggestedXChromaOffset

      public VkScreenBufferFormatPropertiesQNX suggestedXChromaOffset(int value)
      Sets suggestedXChromaOffset with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • suggestedYChromaOffset

      public static int suggestedYChromaOffset(MemorySegment segment, long index)
      Returns suggestedYChromaOffset at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      suggestedYChromaOffset at the given index
    • suggestedYChromaOffset

      public int suggestedYChromaOffset()
      Returns suggestedYChromaOffset.
      Returns:
      suggestedYChromaOffset
    • suggestedYChromaOffset

      public static void suggestedYChromaOffset(MemorySegment segment, long index, int value)
      Sets suggestedYChromaOffset with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • suggestedYChromaOffset

      public VkScreenBufferFormatPropertiesQNX suggestedYChromaOffset(int value)
      Sets suggestedYChromaOffset with the given value.
      Parameters:
      value - the value
      Returns:
      this