Struct ovr_sys::ovrHmdDesc [] [src]

#[repr(C)]
pub struct ovrHmdDesc { pub _align: [isize; 0], pub Type: ovrHmdType, pub _pad0: [u8; 4], pub ProductName: [c_char; 64], pub Manufacturer: [c_char; 64], pub VendorId: c_short, pub ProductId: c_short, pub SerialNumber: [c_char; 24], pub FirmwareMajor: c_short, pub FirmwareMinor: c_short, pub AvailableHmdCaps: c_uint, pub DefaultHmdCaps: c_uint, pub AvailableTrackingCaps: c_uint, pub DefaultTrackingCaps: c_uint, pub DefaultEyeFov: [ovrFovPort; 2], pub MaxEyeFov: [ovrFovPort; 2], pub Resolution: ovrSizei, pub DisplayRefreshRate: f32, pub _pad1: [u8; 4], }

This is a complete descriptor of the HMD.

Fields

The type of HMD.

\internal struct paddding.

UTF8-encoded product identification string (e.g. "Oculus Rift DK1").

UTF8-encoded HMD manufacturer identification string.

HID (USB) vendor identifier of the device.

HID (USB) product identifier of the device.

HMD serial number.

HMD firmware major version.

HMD firmware minor version.

Capability bits described by ovrHmdCaps which the HMD currently supports.

Capability bits described by ovrHmdCaps which are default for the current Hmd.

Capability bits described by ovrTrackingCaps which the system currently supports.

Capability bits described by ovrTrackingCaps which are default for the current system.

Defines the recommended FOVs for the HMD.

Defines the maximum FOVs for the HMD.

Resolution of the full HMD screen (both eyes) in pixels.

Nominal refresh rate of the display in cycles per second at the time of HMD creation.

\internal struct paddding.

Trait Implementations

impl Clone for ovrHmdDesc
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for ovrHmdDesc
[src]