Record Class VkColorBlendAdvancedEXT

java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.VkColorBlendAdvancedEXT
All Implemented Interfaces:
IPointer, IVkColorBlendAdvancedEXT

@ValueBasedCandidate @UnsafeConstructor public record VkColorBlendAdvancedEXT(@NotNull MemorySegment segment) extends Record implements IVkColorBlendAdvancedEXT

Represents a pointer to a VkColorBlendAdvancedEXT structure in native memory.

Structure

typedef struct VkColorBlendAdvancedEXT {
    VkBlendOp advancedBlendOp;
    VkBool32 srcPremultiplied;
    VkBool32 dstPremultiplied;
    VkBlendOverlapEXT blendOverlap;
    VkBool32 clampResults;
} VkColorBlendAdvancedEXT;

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$advancedBlendOp

      public static final MemoryLayout.PathElement PATH$advancedBlendOp
    • PATH$srcPremultiplied

      public static final MemoryLayout.PathElement PATH$srcPremultiplied
    • PATH$dstPremultiplied

      public static final MemoryLayout.PathElement PATH$dstPremultiplied
    • PATH$blendOverlap

      public static final MemoryLayout.PathElement PATH$blendOverlap
    • PATH$clampResults

      public static final MemoryLayout.PathElement PATH$clampResults
    • LAYOUT$advancedBlendOp

      public static final ValueLayout.OfInt LAYOUT$advancedBlendOp
    • LAYOUT$srcPremultiplied

      public static final ValueLayout.OfInt LAYOUT$srcPremultiplied
    • LAYOUT$dstPremultiplied

      public static final ValueLayout.OfInt LAYOUT$dstPremultiplied
    • LAYOUT$blendOverlap

      public static final ValueLayout.OfInt LAYOUT$blendOverlap
    • LAYOUT$clampResults

      public static final ValueLayout.OfInt LAYOUT$clampResults
    • SIZE$advancedBlendOp

      public static final long SIZE$advancedBlendOp
    • SIZE$srcPremultiplied

      public static final long SIZE$srcPremultiplied
    • SIZE$dstPremultiplied

      public static final long SIZE$dstPremultiplied
    • SIZE$blendOverlap

      public static final long SIZE$blendOverlap
    • SIZE$clampResults

      public static final long SIZE$clampResults
    • OFFSET$advancedBlendOp

      public static final long OFFSET$advancedBlendOp
    • OFFSET$srcPremultiplied

      public static final long OFFSET$srcPremultiplied
    • OFFSET$dstPremultiplied

      public static final long OFFSET$dstPremultiplied
    • OFFSET$blendOverlap

      public static final long OFFSET$blendOverlap
    • OFFSET$clampResults

      public static final long OFFSET$clampResults
  • Constructor Details

    • VkColorBlendAdvancedEXT

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