Struct ovr_sys::ovrEyeRenderDesc
[−]
[src]
#[repr(C)]pub struct ovrEyeRenderDesc { pub _align: [u32; 0], pub Eye: ovrEyeType, pub Fov: ovrFovPort, pub DistortedViewport: ovrRecti, pub PixelsPerTanAngleAtCenter: ovrVector2f, pub HmdToEyeOffset: ovrVector3f, }
Rendering information for each eye. Computed by ovr_GetRenderDesc()
based on the
specified FOV. Note that the rendering viewport is not included
here as it can be specified separately and modified per frame by
passing different Viewport values in the layer structure.
Fields
_align: [u32; 0]
Eye: ovrEyeType
The eye index to which this instance corresponds.
Fov: ovrFovPort
The field of view.
DistortedViewport: ovrRecti
Distortion viewport.
PixelsPerTanAngleAtCenter: ovrVector2f
How many display pixels will fit in tan(angle) = 1.
HmdToEyeOffset: ovrVector3f
Translation of each eye, in meters.
Trait Implementations
impl Debug for ovrEyeRenderDesc
[src]
impl Copy for ovrEyeRenderDesc
[src]
impl Clone for ovrEyeRenderDesc
[src]
fn clone(&self) -> ovrEyeRenderDesc
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