[][src]Trait glin::OffscreenBuffer

pub trait OffscreenBuffer: RenderSurface {
    type ColorAttach: ColorAttach;
    type DepthAttach: DepthAttach;
    fn render_buffer(&self) -> &Fbo<Self::ColorAttach, Self::DepthAttach>;
fn color_attachment(&self, idx: usize) -> Option<&Self::ColorAttach>;
fn depth_attachment(&self) -> Option<&Self::DepthAttach>; }

Associated Types

Required Methods

Implementors

impl<C: ColorAttach, D: DepthAttach> OffscreenBuffer for Fbo<C, D>
[src]