struct ovrHmdDesc {
ovrHmdType Type;
char[4];
char ProductName[64];
char Manufacturer[64];
short VendorId;
short ProductId;
char SerialNumber[24];
short FirmwareMajor;
short FirmwareMinor;
unsigned int AvailableHmdCaps;
unsigned int DefaultHmdCaps;
unsigned int AvailableTrackingCaps;
unsigned int DefaultTrackingCaps;
ovrFovPort DefaultEyeFov[ovrEye_Count];
ovrFovPort MaxEyeFov[ovrEye_Count];
ovrSizei Resolution;
float DisplayRefreshRate;
}
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | AVAILABLEHMDCAPS
The struct member offsets. |
| public static final int | AVAILABLETRACKINGCAPS
The struct member offsets. |
| public static final int | DEFAULTEYEFOV
The struct member offsets. |
| public static final int | DEFAULTHMDCAPS
The struct member offsets. |
| public static final int | DEFAULTTRACKINGCAPS
The struct member offsets. |
| public static final int | DISPLAYREFRESHRATE
The struct member offsets. |
| public static final int | FIRMWAREMAJOR
The struct member offsets. |
| public static final int | FIRMWAREMINOR
The struct member offsets. |
| public static final int | MANUFACTURER
The struct member offsets. |
| public static final int | MAXEYEFOV
The struct member offsets. |
| public static final int | PRODUCTID
The struct member offsets. |
| public static final int | PRODUCTNAME
The struct member offsets. |
| public static final int | RESOLUTION
The struct member offsets. |
| public static final int | SERIALNUMBER
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | TYPE
The struct member offsets. |
| public static final int | VENDORID
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | OVRHmdDesc(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public int | |
| public static OVRHmdDesc | |
| public static OVRHmdDesc | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static OVRHmdDesc | |
| public static OVRHmdDesc | |
| protected OVRHmdDesc | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static OVRHmdDesc | |
| public static OVRHmdDesc | |
| public static OVRHmdDesc | |
| public OVRFovPort. | |
| public OVRFovPort | |
| public int | |
| public int | |
| public float | |
| public short | |
| public short | |
| public static OVRHmdDesc | |
| public static OVRHmdDesc | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static OVRHmdDesc | |
| public static OVRHmdDesc | |
| public ByteBuffer | |
| public String | |
| public OVRFovPort. | |
| public OVRFovPort | |
| public static int | |
| public static int | |
| public static OVRFovPort. | |
| public static OVRFovPort | |
| public static int | |
| public static int | |
| public static float | |
| public static short | |
| public static short | |
| public static ByteBuffer | |
| public static String | |
| public static OVRFovPort. | |
| public static OVRFovPort | |
| public static short | |
| public static ByteBuffer | |
| public static String | |
| public static OVRSizei | |
| public static ByteBuffer | |
| public static String | |
| public static int | |
| public static short | |
| public short | |
| public ByteBuffer | |
| public String | |
| public OVRSizei | |
| public ByteBuffer | |
| public String | |
| public int | |
| public int | |
| public short |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| AVAILABLEHMDCAPS | back to summary |
|---|---|
| public static final int AVAILABLEHMDCAPS The struct member offsets. | |
| AVAILABLETRACKINGCAPS | back to summary |
|---|---|
| public static final int AVAILABLETRACKINGCAPS The struct member offsets. | |
| DEFAULTEYEFOV | back to summary |
|---|---|
| public static final int DEFAULTEYEFOV The struct member offsets. | |
| DEFAULTHMDCAPS | back to summary |
|---|---|
| public static final int DEFAULTHMDCAPS The struct member offsets. | |
| DEFAULTTRACKINGCAPS | back to summary |
|---|---|
| public static final int DEFAULTTRACKINGCAPS The struct member offsets. | |
| DISPLAYREFRESHRATE | back to summary |
|---|---|
| public static final int DISPLAYREFRESHRATE The struct member offsets. | |
| FIRMWAREMAJOR | back to summary |
|---|---|
| public static final int FIRMWAREMAJOR The struct member offsets. | |
| FIRMWAREMINOR | back to summary |
|---|---|
| public static final int FIRMWAREMINOR The struct member offsets. | |
| MANUFACTURER | back to summary |
|---|---|
| public static final int MANUFACTURER The struct member offsets. | |
| MAXEYEFOV | back to summary |
|---|---|
| public static final int MAXEYEFOV The struct member offsets. | |
| PRODUCTID | back to summary |
|---|---|
| public static final int PRODUCTID The struct member offsets. | |
| PRODUCTNAME | back to summary |
|---|---|
| public static final int PRODUCTNAME The struct member offsets. | |
| RESOLUTION | back to summary |
|---|---|
| public static final int RESOLUTION The struct member offsets. | |
| SERIALNUMBER | back to summary |
|---|---|
| public static final int SERIALNUMBER The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| TYPE | back to summary |
|---|---|
| public static final int TYPE The struct member offsets. | |
| VENDORID | back to summary |
|---|---|
| public static final int VENDORID The struct member offsets. | |
| OVRHmdDesc | back to summary |
|---|---|
| protected OVRHmdDesc(long address, ByteBuffer container) | |
| OVRHmdDesc | back to summary |
|---|---|
| public OVRHmdDesc(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| AvailableHmdCaps | back to summary |
|---|---|
| public int AvailableHmdCaps() available
| |
| AvailableTrackingCaps | back to summary |
|---|---|
| public int AvailableTrackingCaps() available
| |
| calloc | back to summary |
|---|---|
| public static OVRHmdDesc calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static OVRHmdDesc calloc(MemoryStack stack) Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static OVRHmdDesc callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static OVRHmdDesc callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected OVRHmdDesc create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static OVRHmdDesc create() Returns a new | |
| create | back to summary |
|---|---|
| public static OVRHmdDesc create(long address) Returns a new | |
| createSafe | back to summary |
|---|---|
| public static OVRHmdDesc createSafe(long address) Like
| |
| DefaultEyeFov | back to summary |
|---|---|
| public OVRFovPort. the recommended optical FOV for the HMD
| |
| DefaultEyeFov | back to summary |
|---|---|
| public OVRFovPort DefaultEyeFov(int index) the recommended optical FOV for the HMD
| |
| DefaultHmdCaps | back to summary |
|---|---|
| public int DefaultHmdCaps() default
| |
| DefaultTrackingCaps | back to summary |
|---|---|
| public int DefaultTrackingCaps() default
| |
| DisplayRefreshRate | back to summary |
|---|---|
| public float DisplayRefreshRate() refresh rate of the display in cycles per second at the time of HMD creation | |
| FirmwareMajor | back to summary |
|---|---|
| public short FirmwareMajor() HMD firmware major version number | |
| FirmwareMinor | back to summary |
|---|---|
| public short FirmwareMinor() HMD firmware minor version number | |
| malloc | back to summary |
|---|---|
| public static OVRHmdDesc malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static OVRHmdDesc malloc(MemoryStack stack) Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static OVRHmdDesc mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static OVRHmdDesc mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| Manufacturer | back to summary |
|---|---|
| public ByteBuffer Manufacturer() string describing the manufacturer. Usually "Oculus".
| |
| ManufacturerString | back to summary |
|---|---|
| public String ManufacturerString() string describing the manufacturer. Usually "Oculus".
| |
| MaxEyeFov | back to summary |
|---|---|
| public OVRFovPort. the maximum optical FOV for the HMD
| |
| MaxEyeFov | back to summary |
|---|---|
| public OVRFovPort MaxEyeFov(int index) the maximum optical FOV for the HMD
| |
| nAvailableHmdCaps | back to summary |
|---|---|
| public static int nAvailableHmdCaps(long struct) Unsafe version of | |
| nAvailableTrackingCaps | back to summary |
|---|---|
| public static int nAvailableTrackingCaps(long struct) Unsafe version of | |
| nDefaultEyeFov | back to summary |
|---|---|
| public static OVRFovPort. Unsafe version of | |
| nDefaultEyeFov | back to summary |
|---|---|
| public static OVRFovPort nDefaultEyeFov(long struct, int index) Unsafe version of | |
| nDefaultHmdCaps | back to summary |
|---|---|
| public static int nDefaultHmdCaps(long struct) Unsafe version of | |
| nDefaultTrackingCaps | back to summary |
|---|---|
| public static int nDefaultTrackingCaps(long struct) Unsafe version of | |
| nDisplayRefreshRate | back to summary |
|---|---|
| public static float nDisplayRefreshRate(long struct) Unsafe version of | |
| nFirmwareMajor | back to summary |
|---|---|
| public static short nFirmwareMajor(long struct) Unsafe version of | |
| nFirmwareMinor | back to summary |
|---|---|
| public static short nFirmwareMinor(long struct) Unsafe version of | |
| nManufacturer | back to summary |
|---|---|
| public static ByteBuffer nManufacturer(long struct) Unsafe version of | |
| nManufacturerString | back to summary |
|---|---|
| public static String nManufacturerString(long struct) Unsafe version of | |
| nMaxEyeFov | back to summary |
|---|---|
| public static OVRFovPort. Unsafe version of | |
| nMaxEyeFov | back to summary |
|---|---|
| public static OVRFovPort nMaxEyeFov(long struct, int index) Unsafe version of | |
| nProductId | back to summary |
|---|---|
| public static short nProductId(long struct) Unsafe version of | |
| nProductName | back to summary |
|---|---|
| public static ByteBuffer nProductName(long struct) Unsafe version of | |
| nProductNameString | back to summary |
|---|---|
| public static String nProductNameString(long struct) Unsafe version of | |
| nResolution | back to summary |
|---|---|
| public static OVRSizei nResolution(long struct) Unsafe version of | |
| nSerialNumber | back to summary |
|---|---|
| public static ByteBuffer nSerialNumber(long struct) Unsafe version of | |
| nSerialNumberString | back to summary |
|---|---|
| public static String nSerialNumberString(long struct) Unsafe version of | |
| nType | back to summary |
|---|---|
| public static int nType(long struct) Unsafe version of | |
| nVendorId | back to summary |
|---|---|
| public static short nVendorId(long struct) Unsafe version of | |
| ProductId | back to summary |
|---|---|
| public short ProductId() HID Product ID of the device | |
| ProductName | back to summary |
|---|---|
| public ByteBuffer ProductName() name string describing the product: "Oculus Rift DK1", etc.
| |
| ProductNameString | back to summary |
|---|---|
| public String ProductNameString() name string describing the product: "Oculus Rift DK1", etc.
| |
| Resolution | back to summary |
|---|---|
| public OVRSizei Resolution() resolution of the full HMD screen (both eyes) in pixels
| |
| SerialNumber | back to summary |
|---|---|
| public ByteBuffer SerialNumber() HMD serial number
| |
| SerialNumberString | back to summary |
|---|---|
| public String SerialNumberString() HMD serial number
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| Type | back to summary | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public int Type() this HMD's type. One of:
| |||||||||||||
| VendorId | back to summary |
|---|---|
| public short VendorId() HID Vendor ID of the device | |