Record Class VkDrmFormatModifierProperties2EXT

java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.VkDrmFormatModifierProperties2EXT
All Implemented Interfaces:
IPointer, IVkDrmFormatModifierProperties2EXT

@ValueBasedCandidate @UnsafeConstructor public record VkDrmFormatModifierProperties2EXT(@NotNull MemorySegment segment) extends Record implements IVkDrmFormatModifierProperties2EXT

Represents a pointer to a VkDrmFormatModifierProperties2EXT structure in native memory.

Structure

typedef struct VkDrmFormatModifierProperties2EXT {
    uint64_t drmFormatModifier;
    uint32_t drmFormatModifierPlaneCount;
    VkFormatFeatureFlags2 drmFormatModifierTilingFeatures;
} VkDrmFormatModifierProperties2EXT;

Contracts

The property segment() should always be not-null (segment != NULL && !segment.equals(MemorySegment.NULL)), and properly aligned to LAYOUT.byteAlignment() bytes. To represent null pointer, you may use a Java null instead. See the documentation of IPointer.segment() for more details.

The constructor of this class is marked as UnsafeConstructor, because it does not perform any runtime check. The constructor can be useful for automatic code generators.

See Also:
  • Field Details

    • LAYOUT

      public static final StructLayout LAYOUT
    • BYTES

      public static final long BYTES
    • PATH$drmFormatModifier

      public static final MemoryLayout.PathElement PATH$drmFormatModifier
    • PATH$drmFormatModifierPlaneCount

      public static final MemoryLayout.PathElement PATH$drmFormatModifierPlaneCount
    • PATH$drmFormatModifierTilingFeatures

      public static final MemoryLayout.PathElement PATH$drmFormatModifierTilingFeatures
    • LAYOUT$drmFormatModifier

      public static final ValueLayout.OfLong LAYOUT$drmFormatModifier
    • LAYOUT$drmFormatModifierPlaneCount

      public static final ValueLayout.OfInt LAYOUT$drmFormatModifierPlaneCount
    • LAYOUT$drmFormatModifierTilingFeatures

      public static final ValueLayout.OfLong LAYOUT$drmFormatModifierTilingFeatures
    • SIZE$drmFormatModifier

      public static final long SIZE$drmFormatModifier
    • SIZE$drmFormatModifierPlaneCount

      public static final long SIZE$drmFormatModifierPlaneCount
    • SIZE$drmFormatModifierTilingFeatures

      public static final long SIZE$drmFormatModifierTilingFeatures
    • OFFSET$drmFormatModifier

      public static final long OFFSET$drmFormatModifier
    • OFFSET$drmFormatModifierPlaneCount

      public static final long OFFSET$drmFormatModifierPlaneCount
    • OFFSET$drmFormatModifierTilingFeatures

      public static final long OFFSET$drmFormatModifierTilingFeatures
  • Constructor Details

    • VkDrmFormatModifierProperties2EXT

      public VkDrmFormatModifierProperties2EXT(@NotNull @NotNull MemorySegment segment)
      Creates an instance of a VkDrmFormatModifierProperties2EXT record class.
      Parameters:
      segment - the value for the segment record component
  • Method Details