[][src]Struct libmpv_sys::mpv_opengl_fbo

#[repr(C)]pub struct mpv_opengl_fbo {
    pub fbo: c_int,
    pub w: c_int,
    pub h: c_int,
    pub internal_format: c_int,
}

For MPV_RENDER_PARAM_OPENGL_FBO.

Fields

fbo: c_int

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.

w: c_int

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

h: c_int

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

internal_format: c_int

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

Trait Implementations

impl Clone for mpv_opengl_fbo[src]

impl Copy for mpv_opengl_fbo[src]

impl Debug for mpv_opengl_fbo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.