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.

see ovr_GetRenderDesc

Fields

The eye index to which this instance corresponds.

The field of view.

Distortion viewport.

How many display pixels will fit in tan(angle) = 1.

Translation of each eye, in meters.

Trait Implementations

impl Debug for ovrEyeRenderDesc
[src]

Formats the value using the given formatter.

impl Copy for ovrEyeRenderDesc
[src]

impl Clone for ovrEyeRenderDesc
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more