Function gvr_sys::gvr_buffer_viewport_set_reprojection
[−]
[src]
pub unsafe extern "C" fn gvr_buffer_viewport_set_reprojection(
viewport: *mut gvr_buffer_viewport,
reprojection: i32
)
Sets the type of reprojection to perform on the specified viewport. Viewports that display world content should use full reprojection. Viewports that display head-locked UI should disable reprojection to avoid excessive judder. The default is to perform full reprojection.
@param viewport The buffer viewport. @param reprojection Type of reprojection that will be applied to the passed viewport.