Package org.lwjgl.ovr

Class OVRInitParams.Buffer

    • Constructor Detail

      • Buffer

        public Buffer(java.nio.ByteBuffer container)
        Creates a new OVRInitParams.Buffer instance backed by the specified container. Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by OVRInitParams.SIZEOF, and its mark will be undefined.

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

    • Method Detail

      • Flags

        public int Flags()
        Returns the value of the Flags field.
      • RequestedMinorVersion

        public int RequestedMinorVersion()
        Returns the value of the RequestedMinorVersion field.
      • LogCallback

        public OVRLogCallback LogCallback()
        Returns the OVRLogCallback instance at the LogCallback field.
      • UserData

        public long UserData()
        Returns the value of the UserData field.
      • ConnectionTimeoutMS

        public int ConnectionTimeoutMS()
        Returns the value of the ConnectionTimeoutMS field.
      • Flags

        public OVRInitParams.Buffer Flags(int value)
        Sets the specified value to the Flags field.
      • RequestedMinorVersion

        public OVRInitParams.Buffer RequestedMinorVersion(int value)
        Sets the specified value to the RequestedMinorVersion field.
      • UserData

        public OVRInitParams.Buffer UserData(long value)
        Sets the specified value to the UserData field.
      • ConnectionTimeoutMS

        public OVRInitParams.Buffer ConnectionTimeoutMS(int value)
        Sets the specified value to the ConnectionTimeoutMS field.