Function gvr_sys::gvr_get_maximum_effective_render_target_size [] [src]

pub unsafe extern "C" fn gvr_get_maximum_effective_render_target_size(
    gvr: *const gvr_context
) -> gvr_sizei

Returns the maximum effective size for the client's render target, given the parameters of the head mounted device selected. At this resolution, we have a 1:1 ratio between source pixels and screen pixels in the most magnified region of the screen. Applications should rarely, if ever, need to render to a larger target, as it will simply result in sampling artifacts.

Note that this is probably too large for most applications to use as a render target size. Applications should scale this value to be appropriate to their graphical load.

@param gvr Pointer to the gvr instance from which to get the size.

@return Maximum effective size for the target render target.