libmpv  20200718-git-96cdf53
development library for the MPV media player
Looking for a C++ dev?
I'm looking for work. Hire me!
mpv_opengl_fbo Struct Reference

For MPV_RENDER_PARAM_OPENGL_FBO. More...

#include <render_gl.h>

Public Attributes

int fbo
 Framebuffer object name. More...
 
int w
 Valid dimensions. More...
 
int h
 
int internal_format
 Underlying texture internal format (e.g. More...
 

Detailed Description

For MPV_RENDER_PARAM_OPENGL_FBO.

Definition at line 133 of file render_gl.h.

Member Data Documentation

◆ fbo

int mpv_opengl_fbo::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.

Definition at line 139 of file render_gl.h.

◆ h

int mpv_opengl_fbo::h

Definition at line 144 of file render_gl.h.

◆ internal_format

int mpv_opengl_fbo::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.

Definition at line 149 of file render_gl.h.

◆ w

int mpv_opengl_fbo::w

Valid dimensions.

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

Definition at line 144 of file render_gl.h.


The documentation for this struct was generated from the following file: