Package org.lwjgl.ovr
Class OVRHmdDesc.Buffer
- java.lang.Object
-
- org.lwjgl.system.StructBuffer<OVRHmdDesc,OVRHmdDesc.Buffer>
-
- org.lwjgl.ovr.OVRHmdDesc.Buffer
-
- All Implemented Interfaces:
- java.lang.AutoCloseable, NativeResource, Pointer
- Enclosing class:
- OVRHmdDesc
public static final class OVRHmdDesc.Buffer extends StructBuffer<OVRHmdDesc,OVRHmdDesc.Buffer>
An array ofOVRHmdDescstructs.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
POINTER_SHIFT, POINTER_SIZE
-
-
Constructor Summary
Constructors Constructor and Description Buffer(java.nio.ByteBuffer container)Creates a newOVRHmdDesc.Bufferinstance backed by the specified container.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intAvailableHmdCaps()Returns the value of theAvailableHmdCapsfield.intAvailableTrackingCaps()Returns the value of theAvailableTrackingCapsfield.OVRFovPort.BufferDefaultEyeFov()Returns aOVRFovPort.Buffer view of theDefaultEyeFovfield.OVRFovPortDefaultEyeFov(int index)Returns aOVRFovPortview of the struct at the specified index of theDefaultEyeFovfield.intDefaultHmdCaps()Returns the value of theDefaultHmdCapsfield.intDefaultTrackingCaps()Returns the value of theDefaultTrackingCapsfield.floatDisplayRefreshRate()Returns the value of theDisplayRefreshRatefield.shortFirmwareMajor()Returns the value of theFirmwareMajorfield.shortFirmwareMinor()Returns the value of theFirmwareMinorfield.java.nio.ByteBufferManufacturer()Returns aByteBufferview of theManufacturerfield.java.lang.StringManufacturerString()Decodes the null-terminated string stored in theManufacturerfield.OVRFovPort.BufferMaxEyeFov()Returns aOVRFovPort.Buffer view of theMaxEyeFovfield.OVRFovPortMaxEyeFov(int index)Returns aOVRFovPortview of the struct at the specified index of theMaxEyeFovfield.shortProductId()Returns the value of theProductIdfield.java.nio.ByteBufferProductName()Returns aByteBufferview of theProductNamefield.java.lang.StringProductNameString()Decodes the null-terminated string stored in theProductNamefield.OVRSizeiResolution()Returns aOVRSizeiview of theResolutionfield.java.nio.ByteBufferSerialNumber()Returns aByteBufferview of theSerialNumberfield.java.lang.StringSerialNumberString()Decodes the null-terminated string stored in theSerialNumberfield.intType()Returns the value of theTypefield.shortVendorId()Returns the value of theVendorIdfield.-
Methods inherited from class org.lwjgl.system.StructBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, get, get, get, get, hasRemaining, limit, limit, mark, position, position, put, put, put, remaining, reset, rewind, slice, slice, toString
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.lwjgl.system.NativeResource
close
-
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newOVRHmdDesc.Bufferinstance 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 byOVRHmdDesc.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 theTypefield.
-
ProductName
public java.nio.ByteBuffer ProductName()
Returns aByteBufferview of theProductNamefield.
-
ProductNameString
public java.lang.String ProductNameString()
Decodes the null-terminated string stored in theProductNamefield.
-
Manufacturer
public java.nio.ByteBuffer Manufacturer()
Returns aByteBufferview of theManufacturerfield.
-
ManufacturerString
public java.lang.String ManufacturerString()
Decodes the null-terminated string stored in theManufacturerfield.
-
VendorId
public short VendorId()
Returns the value of theVendorIdfield.
-
ProductId
public short ProductId()
Returns the value of theProductIdfield.
-
SerialNumber
public java.nio.ByteBuffer SerialNumber()
Returns aByteBufferview of theSerialNumberfield.
-
SerialNumberString
public java.lang.String SerialNumberString()
Decodes the null-terminated string stored in theSerialNumberfield.
-
FirmwareMajor
public short FirmwareMajor()
Returns the value of theFirmwareMajorfield.
-
FirmwareMinor
public short FirmwareMinor()
Returns the value of theFirmwareMinorfield.
-
AvailableHmdCaps
public int AvailableHmdCaps()
Returns the value of theAvailableHmdCapsfield.
-
DefaultHmdCaps
public int DefaultHmdCaps()
Returns the value of theDefaultHmdCapsfield.
-
AvailableTrackingCaps
public int AvailableTrackingCaps()
Returns the value of theAvailableTrackingCapsfield.
-
DefaultTrackingCaps
public int DefaultTrackingCaps()
Returns the value of theDefaultTrackingCapsfield.
-
DefaultEyeFov
public OVRFovPort.Buffer DefaultEyeFov()
Returns aOVRFovPort.Buffer view of theDefaultEyeFovfield.
-
DefaultEyeFov
public OVRFovPort DefaultEyeFov(int index)
Returns aOVRFovPortview of the struct at the specified index of theDefaultEyeFovfield.
-
MaxEyeFov
public OVRFovPort.Buffer MaxEyeFov()
Returns aOVRFovPort.Buffer view of theMaxEyeFovfield.
-
MaxEyeFov
public OVRFovPort MaxEyeFov(int index)
Returns aOVRFovPortview of the struct at the specified index of theMaxEyeFovfield.
-
DisplayRefreshRate
public float DisplayRefreshRate()
Returns the value of theDisplayRefreshRatefield.
-
-