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
  • Constructor Details

    • Buffer

      public Buffer(MemorySegment segment, long elementCount)
      Creates VkScreenBufferFormatPropertiesQNX.Buffer with the given segment.
      Parameters:
      segment - the memory segment
      elementCount - 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 class GroupType
      Returns:
      the estimated element count of the group type buffer
    • asSlice

      public VkScreenBufferFormatPropertiesQNX asSlice(long index)
      Creates a slice of VkScreenBufferFormatPropertiesQNX.
      Parameters:
      index - the index of the struct buffer
      Returns:
      the slice of VkScreenBufferFormatPropertiesQNX
    • asSlice

      public VkScreenBufferFormatPropertiesQNX.Buffer asSlice(long index, long count)
      Creates a slice of VkScreenBufferFormatPropertiesQNX.
      Parameters:
      index - the index of the struct buffer
      count - the count
      Returns:
      the slice of VkScreenBufferFormatPropertiesQNX
    • sTypeAt

      public int sTypeAt(long index)
      Returns sType at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      sType at the given index
    • sTypeAt

      public VkScreenBufferFormatPropertiesQNX.Buffer sTypeAt(long index, int value)
      Sets sType with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • pNextAt

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

      public VkScreenBufferFormatPropertiesQNX.Buffer pNextAt(long index, MemorySegment value)
      Sets pNext with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • formatAt

      public int formatAt(long index)
      Returns format at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      format at the given index
    • formatAt

      public VkScreenBufferFormatPropertiesQNX.Buffer formatAt(long index, int value)
      Sets format with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • externalFormatAt

      public long externalFormatAt(long index)
      Returns externalFormat at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      externalFormat at the given index
    • externalFormatAt

      public VkScreenBufferFormatPropertiesQNX.Buffer externalFormatAt(long index, long value)
      Sets externalFormat with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • screenUsageAt

      public long screenUsageAt(long index)
      Returns screenUsage at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      screenUsage at the given index
    • screenUsageAt

      public VkScreenBufferFormatPropertiesQNX.Buffer screenUsageAt(long index, long value)
      Sets screenUsage with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • formatFeaturesAt

      public int formatFeaturesAt(long index)
      Returns formatFeatures at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      formatFeatures at the given index
    • formatFeaturesAt

      public VkScreenBufferFormatPropertiesQNX.Buffer formatFeaturesAt(long index, int value)
      Sets formatFeatures with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • samplerYcbcrConversionComponentsAt

      public MemorySegment samplerYcbcrConversionComponentsAt(long index)
      Returns samplerYcbcrConversionComponents 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)
      Sets samplerYcbcrConversionComponents with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • suggestedYcbcrModelAt

      public int suggestedYcbcrModelAt(long index)
      Returns suggestedYcbcrModel at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      suggestedYcbcrModel at the given index
    • suggestedYcbcrModelAt

      public VkScreenBufferFormatPropertiesQNX.Buffer suggestedYcbcrModelAt(long index, int value)
      Sets suggestedYcbcrModel with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • suggestedYcbcrRangeAt

      public int suggestedYcbcrRangeAt(long index)
      Returns suggestedYcbcrRange at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      suggestedYcbcrRange at the given index
    • suggestedYcbcrRangeAt

      public VkScreenBufferFormatPropertiesQNX.Buffer suggestedYcbcrRangeAt(long index, int value)
      Sets suggestedYcbcrRange with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • suggestedXChromaOffsetAt

      public int suggestedXChromaOffsetAt(long index)
      Returns suggestedXChromaOffset at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      suggestedXChromaOffset at the given index
    • suggestedXChromaOffsetAt

      public VkScreenBufferFormatPropertiesQNX.Buffer suggestedXChromaOffsetAt(long index, int value)
      Sets suggestedXChromaOffset with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • suggestedYChromaOffsetAt

      public int suggestedYChromaOffsetAt(long index)
      Returns suggestedYChromaOffset at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      suggestedYChromaOffset at the given index
    • suggestedYChromaOffsetAt

      public VkScreenBufferFormatPropertiesQNX.Buffer suggestedYChromaOffsetAt(long index, int value)
      Sets suggestedYChromaOffset with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this