Trait Framebuffer

Source
pub trait Framebuffer {
    type DepthSlot;
    type ColorSlot;

    // Required methods
    fn bind(&mut self);
    fn depth_slot(&mut self) -> &mut Self::DepthSlot;
    fn color_slot(&mut self) -> &mut Self::ColorSlot;
    fn viewport(&self) -> &Viewport;
}

Required Associated Types§

Required Methods§

Source

fn bind(&mut self)

Source

fn depth_slot(&mut self) -> &mut Self::DepthSlot

Source

fn color_slot(&mut self) -> &mut Self::ColorSlot

Source

fn viewport(&self) -> &Viewport

Implementors§