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 ofOVRHmdDesc
structs.
-
-
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.Buffer
instance backed by the specified container.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description int
AvailableHmdCaps()
Returns the value of theAvailableHmdCaps
field.int
AvailableTrackingCaps()
Returns the value of theAvailableTrackingCaps
field.OVRFovPort.Buffer
DefaultEyeFov()
Returns aOVRFovPort
.Buffer view of theDefaultEyeFov
field.OVRFovPort
DefaultEyeFov(int index)
Returns aOVRFovPort
view of the struct at the specified index of theDefaultEyeFov
field.int
DefaultHmdCaps()
Returns the value of theDefaultHmdCaps
field.int
DefaultTrackingCaps()
Returns the value of theDefaultTrackingCaps
field.float
DisplayRefreshRate()
Returns the value of theDisplayRefreshRate
field.short
FirmwareMajor()
Returns the value of theFirmwareMajor
field.short
FirmwareMinor()
Returns the value of theFirmwareMinor
field.java.nio.ByteBuffer
Manufacturer()
Returns aByteBuffer
view of theManufacturer
field.java.lang.String
ManufacturerString()
Decodes the null-terminated string stored in theManufacturer
field.OVRFovPort.Buffer
MaxEyeFov()
Returns aOVRFovPort
.Buffer view of theMaxEyeFov
field.OVRFovPort
MaxEyeFov(int index)
Returns aOVRFovPort
view of the struct at the specified index of theMaxEyeFov
field.short
ProductId()
Returns the value of theProductId
field.java.nio.ByteBuffer
ProductName()
Returns aByteBuffer
view of theProductName
field.java.lang.String
ProductNameString()
Decodes the null-terminated string stored in theProductName
field.OVRSizei
Resolution()
Returns aOVRSizei
view of theResolution
field.java.nio.ByteBuffer
SerialNumber()
Returns aByteBuffer
view of theSerialNumber
field.java.lang.String
SerialNumberString()
Decodes the null-terminated string stored in theSerialNumber
field.int
Type()
Returns the value of theType
field.short
VendorId()
Returns the value of theVendorId
field.-
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.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 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 theType
field.
-
ProductName
public java.nio.ByteBuffer ProductName()
Returns aByteBuffer
view of theProductName
field.
-
ProductNameString
public java.lang.String ProductNameString()
Decodes the null-terminated string stored in theProductName
field.
-
Manufacturer
public java.nio.ByteBuffer Manufacturer()
Returns aByteBuffer
view of theManufacturer
field.
-
ManufacturerString
public java.lang.String ManufacturerString()
Decodes the null-terminated string stored in theManufacturer
field.
-
VendorId
public short VendorId()
Returns the value of theVendorId
field.
-
ProductId
public short ProductId()
Returns the value of theProductId
field.
-
SerialNumber
public java.nio.ByteBuffer SerialNumber()
Returns aByteBuffer
view of theSerialNumber
field.
-
SerialNumberString
public java.lang.String SerialNumberString()
Decodes the null-terminated string stored in theSerialNumber
field.
-
FirmwareMajor
public short FirmwareMajor()
Returns the value of theFirmwareMajor
field.
-
FirmwareMinor
public short FirmwareMinor()
Returns the value of theFirmwareMinor
field.
-
AvailableHmdCaps
public int AvailableHmdCaps()
Returns the value of theAvailableHmdCaps
field.
-
DefaultHmdCaps
public int DefaultHmdCaps()
Returns the value of theDefaultHmdCaps
field.
-
AvailableTrackingCaps
public int AvailableTrackingCaps()
Returns the value of theAvailableTrackingCaps
field.
-
DefaultTrackingCaps
public int DefaultTrackingCaps()
Returns the value of theDefaultTrackingCaps
field.
-
DefaultEyeFov
public OVRFovPort.Buffer DefaultEyeFov()
Returns aOVRFovPort
.Buffer view of theDefaultEyeFov
field.
-
DefaultEyeFov
public OVRFovPort DefaultEyeFov(int index)
Returns aOVRFovPort
view of the struct at the specified index of theDefaultEyeFov
field.
-
MaxEyeFov
public OVRFovPort.Buffer MaxEyeFov()
Returns aOVRFovPort
.Buffer view of theMaxEyeFov
field.
-
MaxEyeFov
public OVRFovPort MaxEyeFov(int index)
Returns aOVRFovPort
view of the struct at the specified index of theMaxEyeFov
field.
-
DisplayRefreshRate
public float DisplayRefreshRate()
Returns the value of theDisplayRefreshRate
field.
-
-