Record Class VkGeneratedCommandsInfoNV

java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.VkGeneratedCommandsInfoNV
All Implemented Interfaces:
IPointer, IVkGeneratedCommandsInfoNV

@ValueBasedCandidate @UnsafeConstructor public record VkGeneratedCommandsInfoNV(@NotNull MemorySegment segment) extends Record implements IVkGeneratedCommandsInfoNV

Represents a pointer to a VkGeneratedCommandsInfoNV structure in native memory.

Structure

typedef struct VkGeneratedCommandsInfoNV {
    VkStructureType sType;
    void const* pNext; // optional
    VkPipelineBindPoint pipelineBindPoint;
    VkPipeline pipeline; // optional
    VkIndirectCommandsLayoutNV indirectCommandsLayout;
    uint32_t streamCount;
    VkIndirectCommandsStreamNV const* pStreams;
    uint32_t sequencesCount;
    VkBuffer preprocessBuffer;
    VkDeviceSize preprocessOffset;
    VkDeviceSize preprocessSize;
    VkBuffer sequencesCountBuffer; // optional
    VkDeviceSize sequencesCountOffset;
    VkBuffer sequencesIndexBuffer; // optional
    VkDeviceSize sequencesIndexOffset;
} VkGeneratedCommandsInfoNV;

Auto initialization

This structure has the following members that can be automatically initialized:

  • sType = VK_STRUCTURE_TYPE_GENERATED_COMMANDS_INFO_NV

The allocate (allocate(Arena), allocate(Arena, long)) functions will automatically initialize these fields. Also, you may call autoInit() to initialize these fields manually for non-allocated instances.

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

      public static final MemoryLayout.PathElement PATH$sType
    • PATH$pNext

      public static final MemoryLayout.PathElement PATH$pNext
    • PATH$pipelineBindPoint

      public static final MemoryLayout.PathElement PATH$pipelineBindPoint
    • PATH$pipeline

      public static final MemoryLayout.PathElement PATH$pipeline
    • PATH$indirectCommandsLayout

      public static final MemoryLayout.PathElement PATH$indirectCommandsLayout
    • PATH$streamCount

      public static final MemoryLayout.PathElement PATH$streamCount
    • PATH$pStreams

      public static final MemoryLayout.PathElement PATH$pStreams
    • PATH$sequencesCount

      public static final MemoryLayout.PathElement PATH$sequencesCount
    • PATH$preprocessBuffer

      public static final MemoryLayout.PathElement PATH$preprocessBuffer
    • PATH$preprocessOffset

      public static final MemoryLayout.PathElement PATH$preprocessOffset
    • PATH$preprocessSize

      public static final MemoryLayout.PathElement PATH$preprocessSize
    • PATH$sequencesCountBuffer

      public static final MemoryLayout.PathElement PATH$sequencesCountBuffer
    • PATH$sequencesCountOffset

      public static final MemoryLayout.PathElement PATH$sequencesCountOffset
    • PATH$sequencesIndexBuffer

      public static final MemoryLayout.PathElement PATH$sequencesIndexBuffer
    • PATH$sequencesIndexOffset

      public static final MemoryLayout.PathElement PATH$sequencesIndexOffset
    • LAYOUT$sType

      public static final ValueLayout.OfInt LAYOUT$sType
    • LAYOUT$pNext

      public static final AddressLayout LAYOUT$pNext
    • LAYOUT$pipelineBindPoint

      public static final ValueLayout.OfInt LAYOUT$pipelineBindPoint
    • LAYOUT$pipeline

      public static final AddressLayout LAYOUT$pipeline
    • LAYOUT$indirectCommandsLayout

      public static final AddressLayout LAYOUT$indirectCommandsLayout
    • LAYOUT$streamCount

      public static final ValueLayout.OfInt LAYOUT$streamCount
    • LAYOUT$pStreams

      public static final AddressLayout LAYOUT$pStreams
    • LAYOUT$sequencesCount

      public static final ValueLayout.OfInt LAYOUT$sequencesCount
    • LAYOUT$preprocessBuffer

      public static final AddressLayout LAYOUT$preprocessBuffer
    • LAYOUT$preprocessOffset

      public static final ValueLayout.OfLong LAYOUT$preprocessOffset
    • LAYOUT$preprocessSize

      public static final ValueLayout.OfLong LAYOUT$preprocessSize
    • LAYOUT$sequencesCountBuffer

      public static final AddressLayout LAYOUT$sequencesCountBuffer
    • LAYOUT$sequencesCountOffset

      public static final ValueLayout.OfLong LAYOUT$sequencesCountOffset
    • LAYOUT$sequencesIndexBuffer

      public static final AddressLayout LAYOUT$sequencesIndexBuffer
    • LAYOUT$sequencesIndexOffset

      public static final ValueLayout.OfLong LAYOUT$sequencesIndexOffset
    • SIZE$sType

      public static final long SIZE$sType
    • SIZE$pNext

      public static final long SIZE$pNext
    • SIZE$pipelineBindPoint

      public static final long SIZE$pipelineBindPoint
    • SIZE$pipeline

      public static final long SIZE$pipeline
    • SIZE$indirectCommandsLayout

      public static final long SIZE$indirectCommandsLayout
    • SIZE$streamCount

      public static final long SIZE$streamCount
    • SIZE$pStreams

      public static final long SIZE$pStreams
    • SIZE$sequencesCount

      public static final long SIZE$sequencesCount
    • SIZE$preprocessBuffer

      public static final long SIZE$preprocessBuffer
    • SIZE$preprocessOffset

      public static final long SIZE$preprocessOffset
    • SIZE$preprocessSize

      public static final long SIZE$preprocessSize
    • SIZE$sequencesCountBuffer

      public static final long SIZE$sequencesCountBuffer
    • SIZE$sequencesCountOffset

      public static final long SIZE$sequencesCountOffset
    • SIZE$sequencesIndexBuffer

      public static final long SIZE$sequencesIndexBuffer
    • SIZE$sequencesIndexOffset

      public static final long SIZE$sequencesIndexOffset
    • OFFSET$sType

      public static final long OFFSET$sType
    • OFFSET$pNext

      public static final long OFFSET$pNext
    • OFFSET$pipelineBindPoint

      public static final long OFFSET$pipelineBindPoint
    • OFFSET$pipeline

      public static final long OFFSET$pipeline
    • OFFSET$indirectCommandsLayout

      public static final long OFFSET$indirectCommandsLayout
    • OFFSET$streamCount

      public static final long OFFSET$streamCount
    • OFFSET$pStreams

      public static final long OFFSET$pStreams
    • OFFSET$sequencesCount

      public static final long OFFSET$sequencesCount
    • OFFSET$preprocessBuffer

      public static final long OFFSET$preprocessBuffer
    • OFFSET$preprocessOffset

      public static final long OFFSET$preprocessOffset
    • OFFSET$preprocessSize

      public static final long OFFSET$preprocessSize
    • OFFSET$sequencesCountBuffer

      public static final long OFFSET$sequencesCountBuffer
    • OFFSET$sequencesCountOffset

      public static final long OFFSET$sequencesCountOffset
    • OFFSET$sequencesIndexBuffer

      public static final long OFFSET$sequencesIndexBuffer
    • OFFSET$sequencesIndexOffset

      public static final long OFFSET$sequencesIndexOffset
  • Constructor Details

    • VkGeneratedCommandsInfoNV

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