#[repr(C)]pub struct mpv_opengl_fbo {
pub fbo: c_int,
pub w: c_int,
pub h: c_int,
pub internal_format: c_int,
}Expand description
For MPV_RENDER_PARAM_OPENGL_FBO.
Fields§
§fbo: c_intFramebuffer 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.
w: c_intValid dimensions. This must refer to the size of the framebuffer. This must always be set.
h: c_intValid dimensions. This must refer to the size of the framebuffer. This must always be set.
internal_format: c_intUnderlying texture internal format (e.g. GL_RGBA8), or 0 if unknown. If this is the default framebuffer, this can be an equivalent.
Trait Implementations§
Source§impl Clone for mpv_opengl_fbo
impl Clone for mpv_opengl_fbo
Source§fn clone(&self) -> mpv_opengl_fbo
fn clone(&self) -> mpv_opengl_fbo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for mpv_opengl_fbo
impl Debug for mpv_opengl_fbo
impl Copy for mpv_opengl_fbo
Auto Trait Implementations§
impl Freeze for mpv_opengl_fbo
impl RefUnwindSafe for mpv_opengl_fbo
impl Send for mpv_opengl_fbo
impl Sync for mpv_opengl_fbo
impl Unpin for mpv_opengl_fbo
impl UnwindSafe for mpv_opengl_fbo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more