Trait luminance::framebuffer::ColorSlot [] [src]

pub trait ColorSlot<L, D> where
    L: Layerable,
    D: Dimensionable,
    D::Size: Copy
{ fn color_formats() -> Vec<PixelFormat>;
fn reify_textures<I>(
        size: D::Size,
        mipmaps: usize,
        textures: &mut I
    ) -> Self
    where
        I: Iterator<Item = GLuint>
; }

A framebuffer has a color slot. A color slot can either be empty (the unit type is used,()) or several color formats.

Required Methods

Turn a color slot into a list of pixel formats.

Reify a list of raw textures into a color slot.

Implementors