Record Class XrHandMeshIndexBufferMSFT

java.lang.Object
java.lang.Record
club.doki7.openxr.datatype.XrHandMeshIndexBufferMSFT
All Implemented Interfaces:
IPointer, IXrHandMeshIndexBufferMSFT

@ValueBasedCandidate @UnsafeConstructor public record XrHandMeshIndexBufferMSFT(@NotNull MemorySegment segment) extends Record implements IXrHandMeshIndexBufferMSFT

Represents a pointer to a XrHandMeshIndexBufferMSFT structure in native memory.

Structure

typedef struct XrHandMeshIndexBufferMSFT {
    uint32_t indexBufferKey; // optional
    uint32_t indexCapacityInput; // optional
    uint32_t indexCountOutput; // optional
    uint32_t* indices; // optional
} XrHandMeshIndexBufferMSFT;

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

      public static final MemoryLayout.PathElement PATH$indexBufferKey
    • PATH$indexCapacityInput

      public static final MemoryLayout.PathElement PATH$indexCapacityInput
    • PATH$indexCountOutput

      public static final MemoryLayout.PathElement PATH$indexCountOutput
    • PATH$indices

      public static final MemoryLayout.PathElement PATH$indices
    • LAYOUT$indexBufferKey

      public static final ValueLayout.OfInt LAYOUT$indexBufferKey
    • LAYOUT$indexCapacityInput

      public static final ValueLayout.OfInt LAYOUT$indexCapacityInput
    • LAYOUT$indexCountOutput

      public static final ValueLayout.OfInt LAYOUT$indexCountOutput
    • LAYOUT$indices

      public static final AddressLayout LAYOUT$indices
    • SIZE$indexBufferKey

      public static final long SIZE$indexBufferKey
    • SIZE$indexCapacityInput

      public static final long SIZE$indexCapacityInput
    • SIZE$indexCountOutput

      public static final long SIZE$indexCountOutput
    • SIZE$indices

      public static final long SIZE$indices
    • OFFSET$indexBufferKey

      public static final long OFFSET$indexBufferKey
    • OFFSET$indexCapacityInput

      public static final long OFFSET$indexCapacityInput
    • OFFSET$indexCountOutput

      public static final long OFFSET$indexCountOutput
    • OFFSET$indices

      public static final long OFFSET$indices
  • Constructor Details

    • XrHandMeshIndexBufferMSFT

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