Type Alias grafix_toolbox::GL::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)