Type Alias Framebuffer

Source
pub type Framebuffer = Object<Framebuff>;

Aliased Type§

struct Framebuffer {
    pub obj: u32,
    /* private fields */
}

Fields§

§obj: u32

Implementations§

Source§

impl Framebuffer

Source

pub fn attach(self, args: impl FramebuffArg) -> Self

Source

pub fn Bind<S, F>( &self, tex: &Tex<S, F, impl TexType>, ) -> Binding<'_, Framebuff>

Source

pub fn Clear(&self, typ: GLenum, args: impl ClearArgs)