[][src]Function gvr_sys::gvr_get_viewer_model

pub unsafe extern "C" fn gvr_get_viewer_model(
    gvr: *const gvr_context
) -> *const c_char

Gets the name of the viewer model.

@param gvr Pointer to the gvr instance from which to get the name. @return A pointer to the model name. May be NULL if no viewer is paired. WARNING: This method guarantees the validity of the returned pointer only until the next use of the gvr context. The string should be copied immediately if persistence is required.