[−][src]Struct libmpv_sys::mpv_opengl_fbo
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]
fn clone(&self) -> mpv_opengl_fbo
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for mpv_opengl_fbo
[src]
impl Debug for mpv_opengl_fbo
[src]
Auto Trait Implementations
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,