Class VkDrmFormatModifierProperties2EXT

All Implemented Interfaces:
Pointer

public class VkDrmFormatModifierProperties2EXT extends Struct<VkDrmFormatModifierProperties2EXT>

 struct VkDrmFormatModifierProperties2EXT {
     uint64_t drmFormatModifier;
     uint32_t drmFormatModifierPlaneCount;
     VkFormatFeatureFlags2 drmFormatModifierTilingFeatures;
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • DRMFORMATMODIFIER

      public static final int DRMFORMATMODIFIER
      The struct member offsets.
    • DRMFORMATMODIFIERPLANECOUNT

      public static final int DRMFORMATMODIFIERPLANECOUNT
      The struct member offsets.
    • DRMFORMATMODIFIERTILINGFEATURES

      public static final int DRMFORMATMODIFIERTILINGFEATURES
      The struct member offsets.
  • Constructor Details

    • VkDrmFormatModifierProperties2EXT

      public VkDrmFormatModifierProperties2EXT(ByteBuffer container)
      Creates a VkDrmFormatModifierProperties2EXT instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

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

  • Method Details

    • sizeof

      public int sizeof()
      Description copied from class: Struct
      Returns sizeof(struct).
      Specified by:
      sizeof in class Struct<VkDrmFormatModifierProperties2EXT>
    • drmFormatModifier

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

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

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

      public static VkDrmFormatModifierProperties2EXT create(long address)
      Returns a new VkDrmFormatModifierProperties2EXT instance for the specified memory address.
    • createSafe

      public static @Nullable VkDrmFormatModifierProperties2EXT createSafe(long address)
      Like create, but returns null if address is NULL.
    • create

      public static VkDrmFormatModifierProperties2EXT.Buffer create(long address, int capacity)
      Create a VkDrmFormatModifierProperties2EXT.Buffer instance at the specified memory.
      Parameters:
      address - the memory address
      capacity - the buffer capacity
    • createSafe

      public static @Nullable VkDrmFormatModifierProperties2EXT.Buffer createSafe(long address, int capacity)
      Like create, but returns null if address is NULL.
    • ndrmFormatModifier

      public static long ndrmFormatModifier(long struct)
      Unsafe version of drmFormatModifier().
    • ndrmFormatModifierPlaneCount

      public static int ndrmFormatModifierPlaneCount(long struct)
    • ndrmFormatModifierTilingFeatures

      public static long ndrmFormatModifierTilingFeatures(long struct)