[][src]Function gvr_sys::gvr_initialize_gl

pub unsafe extern "C" fn gvr_initialize_gl(gvr: *mut gvr_context)

Initializes necessary GL-related objects and uses the current thread and GL context for rendering. Please make sure that a valid GL context is available when this function is called.

@param gvr Pointer to the gvr instance to be initialized.