Record Class VkDrmFormatModifierPropertiesEXT

java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.VkDrmFormatModifierPropertiesEXT
All Implemented Interfaces:
IPointer, IVkDrmFormatModifierPropertiesEXT

@ValueBasedCandidate @UnsafeConstructor public record VkDrmFormatModifierPropertiesEXT(@NotNull MemorySegment segment) extends Record implements IVkDrmFormatModifierPropertiesEXT

Represents a pointer to a VkDrmFormatModifierPropertiesEXT structure in native memory.

Structure

typedef struct VkDrmFormatModifierPropertiesEXT {
    uint64_t drmFormatModifier;
    uint32_t drmFormatModifierPlaneCount;
    VkFormatFeatureFlags drmFormatModifierTilingFeatures;
} VkDrmFormatModifierPropertiesEXT;

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.OfInt 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

    • VkDrmFormatModifierPropertiesEXT

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