Function gvr_sys::gvr_get_async_reprojection_enabled
[−]
[src]
pub unsafe extern "C" fn gvr_get_async_reprojection_enabled(
gvr: *const gvr_context
) -> bool
Gets whether asynchronous reprojection is currently enabled.
If enabled, frames will be collected by the rendering system and asynchronously re-projected in sync with the scanout of the display. This feature may not be available on every platform, and requires a high-priority render thread with special extensions to function properly.
Note: On Android, this feature can be enabled solely via the GvrLayout Java instance which (indirectly) owns this gvr_context. The corresponding method call is GvrLayout.setAsyncReprojectionEnabled().
Note: Because of the above requirements, asynchronous reprojection is only currently available on Daydream-ready Android devices. This function will always return false on other devices.
@param gvr Pointer to the gvr instance. @return Whether async reprojection is enabled. Defaults to false.