Class VkDrmFormatModifierProperties2EXT.Buffer

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

public static class VkDrmFormatModifierProperties2EXT.Buffer extends StructBuffer<VkDrmFormatModifierProperties2EXT,VkDrmFormatModifierProperties2EXT.Buffer>
  • Constructor Details Link icon

    • Buffer Link icon

      public Buffer(ByteBuffer container)
      Creates a new VkDrmFormatModifierProperties2EXT.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 VkDrmFormatModifierProperties2EXT.SIZEOF, and its mark will be undefined.

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

    • Buffer Link icon

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

    • drmFormatModifier Link icon

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

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

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