#[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.
Fields§
§_align: [u32; 0]§Eye: ovrEyeTypeThe eye index to which this instance corresponds.
Fov: ovrFovPortThe field of view.
DistortedViewport: ovrRectiDistortion viewport.
PixelsPerTanAngleAtCenter: ovrVector2fHow many display pixels will fit in tan(angle) = 1.
HmdToEyeOffset: ovrVector3fTranslation of each eye, in meters.
Trait Implementations§
Source§impl Clone for ovrEyeRenderDesc
impl Clone for ovrEyeRenderDesc
Source§fn clone(&self) -> ovrEyeRenderDesc
fn clone(&self) -> ovrEyeRenderDesc
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ovrEyeRenderDesc
impl Debug for ovrEyeRenderDesc
impl Copy for ovrEyeRenderDesc
Auto Trait Implementations§
impl Freeze for ovrEyeRenderDesc
impl RefUnwindSafe for ovrEyeRenderDesc
impl Send for ovrEyeRenderDesc
impl Sync for ovrEyeRenderDesc
impl Unpin for ovrEyeRenderDesc
impl UnwindSafe for ovrEyeRenderDesc
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more