#[repr(C)]
pub struct ovrEyeRenderDesc { pub _align: [u32; 0], pub Eye: ovrEyeType, pub Fov: ovrFovPort, pub DistortedViewport: ovrRecti, pub PixelsPerTanAngleAtCenter: ovrVector2f, pub HmdToEyeOffset: ovrVector3f, }
Expand description

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§

§_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§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.