Class VkDisplayPropertiesKHR.Buffer

All Implemented Interfaces:
Addressable
Enclosing class:
VkDisplayPropertiesKHR

public static final class VkDisplayPropertiesKHR.Buffer extends VkDisplayPropertiesKHR
  • Constructor Details

    • Buffer

      public Buffer(MemorySegment segment, long elementCount)
      Creates VkDisplayPropertiesKHR.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 VkDisplayPropertiesKHR asSlice(long index)
      Creates a slice of VkDisplayPropertiesKHR.
      Parameters:
      index - the index of the struct buffer
      Returns:
      the slice of VkDisplayPropertiesKHR
    • asSlice

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

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

      public VkDisplayPropertiesKHR.Buffer displayAt(long index, long value)
      Sets display with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • displayNameAt

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

      public VkDisplayPropertiesKHR.Buffer displayNameAt(long index, MemorySegment value)
      Sets displayName with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • physicalDimensionsAt

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

      public VkDisplayPropertiesKHR.Buffer physicalDimensionsAt(long index, MemorySegment value)
      Sets physicalDimensions with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • physicalResolutionAt

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

      public VkDisplayPropertiesKHR.Buffer physicalResolutionAt(long index, MemorySegment value)
      Sets physicalResolution with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • supportedTransformsAt

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

      public VkDisplayPropertiesKHR.Buffer supportedTransformsAt(long index, int value)
      Sets supportedTransforms with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • planeReorderPossibleAt

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

      public VkDisplayPropertiesKHR.Buffer planeReorderPossibleAt(long index, int value)
      Sets planeReorderPossible with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • persistentContentAt

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

      public VkDisplayPropertiesKHR.Buffer persistentContentAt(long index, int value)
      Sets persistentContent with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this