Record Class XrExternalCameraIntrinsicsOCULUS

java.lang.Object
java.lang.Record
club.doki7.openxr.datatype.XrExternalCameraIntrinsicsOCULUS
All Implemented Interfaces:
IPointer, IXrExternalCameraIntrinsicsOCULUS

@ValueBasedCandidate @UnsafeConstructor public record XrExternalCameraIntrinsicsOCULUS(@NotNull MemorySegment segment) extends Record implements IXrExternalCameraIntrinsicsOCULUS

Represents a pointer to a XrExternalCameraIntrinsicsOCULUS structure in native memory.

Structure

typedef struct XrExternalCameraIntrinsicsOCULUS {
    XrTime lastChangeTime;
    XrFovf fov;
    float virtualNearPlaneDistance;
    float virtualFarPlaneDistance;
    XrExtent2Di imageSensorPixelResolution;
} XrExternalCameraIntrinsicsOCULUS;

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

      public static final MemoryLayout.PathElement PATH$lastChangeTime
    • PATH$fov

      public static final MemoryLayout.PathElement PATH$fov
    • PATH$virtualNearPlaneDistance

      public static final MemoryLayout.PathElement PATH$virtualNearPlaneDistance
    • PATH$virtualFarPlaneDistance

      public static final MemoryLayout.PathElement PATH$virtualFarPlaneDistance
    • PATH$imageSensorPixelResolution

      public static final MemoryLayout.PathElement PATH$imageSensorPixelResolution
    • LAYOUT$lastChangeTime

      public static final ValueLayout.OfLong LAYOUT$lastChangeTime
    • LAYOUT$fov

      public static final StructLayout LAYOUT$fov
    • LAYOUT$virtualNearPlaneDistance

      public static final ValueLayout.OfFloat LAYOUT$virtualNearPlaneDistance
    • LAYOUT$virtualFarPlaneDistance

      public static final ValueLayout.OfFloat LAYOUT$virtualFarPlaneDistance
    • LAYOUT$imageSensorPixelResolution

      public static final StructLayout LAYOUT$imageSensorPixelResolution
    • SIZE$lastChangeTime

      public static final long SIZE$lastChangeTime
    • SIZE$fov

      public static final long SIZE$fov
    • SIZE$virtualNearPlaneDistance

      public static final long SIZE$virtualNearPlaneDistance
    • SIZE$virtualFarPlaneDistance

      public static final long SIZE$virtualFarPlaneDistance
    • SIZE$imageSensorPixelResolution

      public static final long SIZE$imageSensorPixelResolution
    • OFFSET$lastChangeTime

      public static final long OFFSET$lastChangeTime
    • OFFSET$fov

      public static final long OFFSET$fov
    • OFFSET$virtualNearPlaneDistance

      public static final long OFFSET$virtualNearPlaneDistance
    • OFFSET$virtualFarPlaneDistance

      public static final long OFFSET$virtualFarPlaneDistance
    • OFFSET$imageSensorPixelResolution

      public static final long OFFSET$imageSensorPixelResolution
  • Constructor Details

    • XrExternalCameraIntrinsicsOCULUS

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