Package org.lwjgl.ovr

Class OVRHmdDesc.Buffer

    • Constructor Detail

      • Buffer

        public Buffer(java.nio.ByteBuffer container)
        Creates a new OVRHmdDesc.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 OVRHmdDesc.SIZEOF, and its mark will be undefined.

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

    • Method Detail

      • Type

        public int Type()
        Returns the value of the Type field.
      • ProductName

        public java.nio.ByteBuffer ProductName()
        Returns a ByteBuffer view of the ProductName field.
      • ProductNameString

        public java.lang.String ProductNameString()
        Decodes the null-terminated string stored in the ProductName field.
      • Manufacturer

        public java.nio.ByteBuffer Manufacturer()
        Returns a ByteBuffer view of the Manufacturer field.
      • ManufacturerString

        public java.lang.String ManufacturerString()
        Decodes the null-terminated string stored in the Manufacturer field.
      • VendorId

        public short VendorId()
        Returns the value of the VendorId field.
      • ProductId

        public short ProductId()
        Returns the value of the ProductId field.
      • SerialNumber

        public java.nio.ByteBuffer SerialNumber()
        Returns a ByteBuffer view of the SerialNumber field.
      • SerialNumberString

        public java.lang.String SerialNumberString()
        Decodes the null-terminated string stored in the SerialNumber field.
      • FirmwareMajor

        public short FirmwareMajor()
        Returns the value of the FirmwareMajor field.
      • FirmwareMinor

        public short FirmwareMinor()
        Returns the value of the FirmwareMinor field.
      • AvailableHmdCaps

        public int AvailableHmdCaps()
        Returns the value of the AvailableHmdCaps field.
      • DefaultHmdCaps

        public int DefaultHmdCaps()
        Returns the value of the DefaultHmdCaps field.
      • AvailableTrackingCaps

        public int AvailableTrackingCaps()
        Returns the value of the AvailableTrackingCaps field.
      • DefaultTrackingCaps

        public int DefaultTrackingCaps()
        Returns the value of the DefaultTrackingCaps field.
      • DefaultEyeFov

        public OVRFovPort DefaultEyeFov(int index)
        Returns a OVRFovPort view of the struct at the specified index of the DefaultEyeFov field.
      • MaxEyeFov

        public OVRFovPort MaxEyeFov(int index)
        Returns a OVRFovPort view of the struct at the specified index of the MaxEyeFov field.
      • Resolution

        public OVRSizei Resolution()
        Returns a OVRSizei view of the Resolution field.
      • DisplayRefreshRate

        public float DisplayRefreshRate()
        Returns the value of the DisplayRefreshRate field.