[][src]Constant libmpv_sys::mpv_sub_api_MPV_SUB_API_OPENGL_CB

pub const mpv_sub_api_MPV_SUB_API_OPENGL_CB: mpv_sub_api = 1;

For using mpv's OpenGL renderer on an external OpenGL context. mpv_get_sub_api(MPV_SUB_API_OPENGL_CB) returns mpv_opengl_cb_context*. This context can be used with mpv_opengl_cb_* functions. Will return NULL if unavailable (if OpenGL support was not compiled in). See opengl_cb.h for details.

@deprecated use render.h