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
_align: [isize; 0]
Type: ovrHmdType
The type of HMD.
_pad0: [u8; 4]
\internal struct paddding.
ProductName: [c_char; 64]
UTF8-encoded product identification string (e.g. "Oculus Rift DK1").
Manufacturer: [c_char; 64]
UTF8-encoded HMD manufacturer identification string.
VendorId: c_short
HID (USB) vendor identifier of the device.
ProductId: c_short
HID (USB) product identifier of the device.
SerialNumber: [c_char; 24]
HMD serial number.
FirmwareMajor: c_short
HMD firmware major version.
FirmwareMinor: c_short
HMD firmware minor version.
AvailableHmdCaps: c_uint
Capability bits described by ovrHmdCaps
which the HMD currently supports.
DefaultHmdCaps: c_uint
Capability bits described by ovrHmdCaps
which are default for the current Hmd.
AvailableTrackingCaps: c_uint
Capability bits described by ovrTrackingCaps
which the system currently supports.
DefaultTrackingCaps: c_uint
Capability bits described by ovrTrackingCaps
which are default for the current system.
DefaultEyeFov: [ovrFovPort; 2]
Defines the recommended FOVs for the HMD.
MaxEyeFov: [ovrFovPort; 2]
Defines the maximum FOVs for the HMD.
Resolution: ovrSizei
Resolution of the full HMD screen (both eyes) in pixels.
DisplayRefreshRate: f32
Nominal refresh rate of the display in cycles per second at the time of HMD creation.
_pad1: [u8; 4]
\internal struct paddding.
Trait Implementations
impl Clone for ovrHmdDesc
[src]
fn clone(&self) -> ovrHmdDesc
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more