Trait luminance::backend::color_slot::ColorSlot[][src]

pub trait ColorSlot<B: ?Sized, D> where
    B: Framebuffer<D>,
    D: Dimensionable,
    D::Size: Copy
{ type ColorTextures; fn color_formats() -> Vec<PixelFormat>;
fn reify_color_textures<C>(
        ctx: &mut C,
        size: D::Size,
        mipmaps: usize,
        sampler: &Sampler,
        framebuffer: &mut B::FramebufferRepr,
        attachment_index: usize
    ) -> Result<Self::ColorTextures, FramebufferError>
    where
        C: GraphicsContext<Backend = B>
; }

Associated Types

Required methods

Implementations on Foreign Types

Implementors