Trait luminance::backend::depth_slot::DepthSlot[][src]

pub trait DepthSlot<B: ?Sized, D> where
    B: Framebuffer<D>,
    D: Dimensionable,
    D::Size: Copy
{ type DepthTexture; fn depth_format() -> Option<PixelFormat>;
fn reify_depth_texture<C>(
        ctx: &mut C,
        size: D::Size,
        mipmaps: usize,
        sampler: &Sampler,
        framebuffer: &mut B::FramebufferRepr
    ) -> Result<Self::DepthTexture, FramebufferError>
    where
        C: GraphicsContext<Backend = B>
; }

Associated Types

Texture associated with this color slot.

Required methods

Turn a depth slot into a pixel format.

Reify a raw textures into a depth slot.

Implementations on Foreign Types

Implementors