Record Class VkPipelineCreationFeedback

java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.VkPipelineCreationFeedback
All Implemented Interfaces:
IPointer, IVkPipelineCreationFeedback

@ValueBasedCandidate @UnsafeConstructor public record VkPipelineCreationFeedback(@NotNull MemorySegment segment) extends Record implements IVkPipelineCreationFeedback

Represents a pointer to a VkPipelineCreationFeedback structure in native memory.

Structure

typedef struct VkPipelineCreationFeedback {
    VkPipelineCreationFeedbackFlags flags;
    uint64_t duration;
} VkPipelineCreationFeedback;

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

      public static final MemoryLayout.PathElement PATH$flags
    • PATH$duration

      public static final MemoryLayout.PathElement PATH$duration
    • LAYOUT$flags

      public static final ValueLayout.OfInt LAYOUT$flags
    • LAYOUT$duration

      public static final ValueLayout.OfLong LAYOUT$duration
    • SIZE$flags

      public static final long SIZE$flags
    • SIZE$duration

      public static final long SIZE$duration
    • OFFSET$flags

      public static final long OFFSET$flags
    • OFFSET$duration

      public static final long OFFSET$duration
  • Constructor Details

    • VkPipelineCreationFeedback

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