mpv_opengl_fbo

For MPV_RENDER_PARAM_OPENGL_FBO.

extern (C)
struct mpv_opengl_fbo {}

Members

Variables

fbo
int fbo;

Framebuffer object name. This must be either a valid FBO generated by glGenFramebuffers() that is complete and color-renderable, or 0. If the value is 0, this refers to the OpenGL default framebuffer.

h
int h;
Undocumented in source.
internal_format
int internal_format;

Underlying texture internal format (e.g. GL_RGBA8), or 0 if unknown. If this is the default framebuffer, this can be an equivalent.

w
int w;

Valid dimensions. This must refer to the size of the framebuffer. This must always be set.

Meta