pub trait Framebuffer {
    type DepthSlot;
    type ColorSlot;

    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

Implementors