Class XrSceneFrustumBoundMSFT

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<XrSceneFrustumBoundMSFT>
org.lwjgl.openxr.XrSceneFrustumBoundMSFT
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class XrSceneFrustumBoundMSFT extends org.lwjgl.system.Struct<XrSceneFrustumBoundMSFT> implements org.lwjgl.system.NativeResource
Describe a scene frustum bounds.
Description

The runtime must return ERROR_VALIDATION_FAILURE if farDistance is less than or equal to zero. The runtime must return ERROR_VALIDATION_FAILURE if the fov angles are not between between -π/2 and π/2 exclusively.

Valid Usage (Implicit)
See Also

XrFovf, XrPosef, XrSceneBoundsMSFT

Layout


 struct XrSceneFrustumBoundMSFT {
     XrPosef pose();
     XrFovf fov();
     float farDistance();
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • POSE

      public static final int POSE
      The struct member offsets.
    • FOV

      public static final int FOV
      The struct member offsets.
    • FARDISTANCE

      public static final int FARDISTANCE
      The struct member offsets.
  • Constructor Details

    • XrSceneFrustumBoundMSFT

      public XrSceneFrustumBoundMSFT(ByteBuffer container)
      Creates a XrSceneFrustumBoundMSFT instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

      The created instance holds a strong reference to the container object.

  • Method Details