Function ovr_sys::ovr_GetRenderDesc

source ·
pub unsafe extern "C" fn ovr_GetRenderDesc(
    session: ovrSession,
    eyeType: ovrEyeType,
    fov: ovrFovPort
) -> ovrEyeRenderDesc
Expand description

Computes the distortion viewport, view adjust, and other rendering parameters for the specified eye.

session Specifies an ovrSession previously returned by ovr_Create.

eyeType Specifies which eye (left or right) for which to perform calculations.

fov Specifies the ovrFovPort to use.

Returns the computed ovrEyeRenderDesc for the given eyeType and field of view.

see ovrEyeRenderDesc