Record Class VkBindVertexBufferIndirectCommandEXT

java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.VkBindVertexBufferIndirectCommandEXT
All Implemented Interfaces:
IPointer, IVkBindVertexBufferIndirectCommandEXT

@ValueBasedCandidate @UnsafeConstructor public record VkBindVertexBufferIndirectCommandEXT(@NotNull MemorySegment segment) extends Record implements IVkBindVertexBufferIndirectCommandEXT

Represents a pointer to a VkBindVertexBufferIndirectCommandEXT structure in native memory.

Structure Link icon

typedef struct VkBindVertexBufferIndirectCommandEXT {
    VkDeviceAddress bufferAddress;
    uint32_t size;
    uint32_t stride;
} VkBindVertexBufferIndirectCommandEXT;

Contracts Link icon

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 Link icon

    • LAYOUT Link icon

      public static final StructLayout LAYOUT
    • BYTES Link icon

      public static final long BYTES
    • PATH$bufferAddress Link icon

      public static final MemoryLayout.PathElement PATH$bufferAddress
    • PATH$size Link icon

      public static final MemoryLayout.PathElement PATH$size
    • PATH$stride Link icon

      public static final MemoryLayout.PathElement PATH$stride
    • LAYOUT$bufferAddress Link icon

      public static final ValueLayout.OfLong LAYOUT$bufferAddress
    • LAYOUT$size Link icon

      public static final ValueLayout.OfInt LAYOUT$size
    • LAYOUT$stride Link icon

      public static final ValueLayout.OfInt LAYOUT$stride
    • SIZE$bufferAddress Link icon

      public static final long SIZE$bufferAddress
    • SIZE$size Link icon

      public static final long SIZE$size
    • SIZE$stride Link icon

      public static final long SIZE$stride
    • OFFSET$bufferAddress Link icon

      public static final long OFFSET$bufferAddress
    • OFFSET$size Link icon

      public static final long OFFSET$size
    • OFFSET$stride Link icon

      public static final long OFFSET$stride
  • Constructor Details Link icon

    • VkBindVertexBufferIndirectCommandEXT Link icon

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