Package org.lwjgl.ovr

Class OVRErrorInfo

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer


    public class OVRErrorInfo
    extends Struct
    Provides information about the last error.

    Member documentation

    • Result – the result from the last API call that generated an error ovrResult
    • ErrorString – a UTF8-encoded null-terminated English string describing the problem. The format of this string is subject to change in future versions

    Layout

    struct ovrErrorInfo {
        ovrResult Result;
        char[512] ErrorString;
    }
    • Field Detail

      • SIZEOF

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

      • OVRErrorInfo

        public OVRErrorInfo(java.nio.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.