Package org.lwjgl.ovr

Class OVRErrorInfo

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class OVRErrorInfo extends Struct<OVRErrorInfo> implements NativeResource
Provides information about the last error.

Layout


 struct ovrErrorInfo {
     ovrResult Result();
     char ErrorString()[512];
 }
  • Field Details

    • SIZEOF

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

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

      public static final int RESULT
      The struct member offsets.
    • ERRORSTRING

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

    • OVRErrorInfo

      public OVRErrorInfo(ByteBuffer container)
      Creates a OVRErrorInfo 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