Class VkDrmFormatModifierPropertiesEXT.Buffer

All Implemented Interfaces:
Iterable<VkDrmFormatModifierPropertiesEXT>, Pointer
Enclosing class:
VkDrmFormatModifierPropertiesEXT

public static class VkDrmFormatModifierPropertiesEXT.Buffer extends StructBuffer<VkDrmFormatModifierPropertiesEXT,VkDrmFormatModifierPropertiesEXT.Buffer>
  • Constructor Details

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new VkDrmFormatModifierPropertiesEXT.Buffer instance backed by the specified container.

      Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by VkDrmFormatModifierPropertiesEXT.SIZEOF, and its mark will be undefined.

      The created buffer instance holds a strong reference to the container object.

    • Buffer

      public Buffer(long address, int cap)
  • Method Details

    • drmFormatModifier

      public long drmFormatModifier()
      Returns:
      the value of the drmFormatModifier field.
    • drmFormatModifierPlaneCount

      public int drmFormatModifierPlaneCount()
      Returns:
      the value of the drmFormatModifierPlaneCount field.
    • drmFormatModifierTilingFeatures

      public int drmFormatModifierTilingFeatures()
      Returns:
      the value of the drmFormatModifierTilingFeatures field.