Struct luminance::framebuffer::Slot [] [src]

pub struct Slot<C, L, D, P> where C: HasTexture, L: Layerable, D: Dimensionable, P: Pixel {
    pub texture: Texture<C, L, D, P>,
}

Slot type; used to create color and depth slots for framebuffers.

Fields

Trait Implementations

impl<C, L, D, P> ColorSlot<C, L, D> for Slot<C, L, D, P> where C: HasFramebuffer + HasTexture, L: Layerable, D: Dimensionable, D::Size: Copy, P: ColorPixel + RenderablePixel
[src]

Turn a color slot into a list of pixel formats.

Reify a list of raw textures into a color slot.

impl<C, L, D, P> DepthSlot<C, L, D> for Slot<C, L, D, P> where C: HasFramebuffer + HasTexture, L: Layerable, D: Dimensionable, D::Size: Copy, P: DepthPixel
[src]

Turn a depth slot into a pixel format.

Reify a raw textures into a depth slot.