Record Class VkDrawMeshTasksIndirectCommandEXT

java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.VkDrawMeshTasksIndirectCommandEXT
All Implemented Interfaces:
IPointer, IVkDrawMeshTasksIndirectCommandEXT

@ValueBasedCandidate @UnsafeConstructor public record VkDrawMeshTasksIndirectCommandEXT(@NotNull MemorySegment segment) extends Record implements IVkDrawMeshTasksIndirectCommandEXT

Represents a pointer to a VkDrawMeshTasksIndirectCommandEXT structure in native memory.

Structure

typedef struct VkDrawMeshTasksIndirectCommandEXT {
    uint32_t groupCountX;
    uint32_t groupCountY;
    uint32_t groupCountZ;
} VkDrawMeshTasksIndirectCommandEXT;

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

      public static final MemoryLayout.PathElement PATH$groupCountX
    • PATH$groupCountY

      public static final MemoryLayout.PathElement PATH$groupCountY
    • PATH$groupCountZ

      public static final MemoryLayout.PathElement PATH$groupCountZ
    • LAYOUT$groupCountX

      public static final ValueLayout.OfInt LAYOUT$groupCountX
    • LAYOUT$groupCountY

      public static final ValueLayout.OfInt LAYOUT$groupCountY
    • LAYOUT$groupCountZ

      public static final ValueLayout.OfInt LAYOUT$groupCountZ
    • SIZE$groupCountX

      public static final long SIZE$groupCountX
    • SIZE$groupCountY

      public static final long SIZE$groupCountY
    • SIZE$groupCountZ

      public static final long SIZE$groupCountZ
    • OFFSET$groupCountX

      public static final long OFFSET$groupCountX
    • OFFSET$groupCountY

      public static final long OFFSET$groupCountY
    • OFFSET$groupCountZ

      public static final long OFFSET$groupCountZ
  • Constructor Details

    • VkDrawMeshTasksIndirectCommandEXT

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