Class VkDrmFormatModifierProperties2EXT

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • DRMFORMATMODIFIER, DRMFORMATMODIFIERPLANECOUNT, DRMFORMATMODIFIERTILINGFEATURES

        The struct member offsets.
    • Constructor Detail

      • VkDrmFormatModifierProperties2EXT

        public VkDrmFormatModifierProperties2EXT​(java.nio.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 Detail

      • sizeof

        public int sizeof()
        Specified by:
        sizeof in class org.lwjgl.system.Struct
      • drmFormatModifier

        public long drmFormatModifier()
        a Linux DRM format modifier.
      • drmFormatModifierPlaneCount

        public int drmFormatModifierPlaneCount()
        the number of memory planes in any image created with format and drmFormatModifier. An image’s memory planecount is distinct from its format planecount, as explained below.
      • drmFormatModifierTilingFeatures

        public long drmFormatModifierTilingFeatures()
        a bitmask of VkFormatFeatureFlagBits2 that are supported by any image created with format and drmFormatModifier.
      • create

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

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

        public static int ndrmFormatModifierPlaneCount​(long struct)