[−][src]Trait luminance::backend::depth_slot::DepthSlot
Associated Types
type DepthTexture
Texture associated with this color slot.
Required methods
fn depth_format() -> Option<PixelFormat>
Turn a depth slot into a pixel format.
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>,
ctx: &mut C,
size: D::Size,
mipmaps: usize,
sampler: &Sampler,
framebuffer: &mut B::FramebufferRepr
) -> Result<Self::DepthTexture, FramebufferError> where
C: GraphicsContext<Backend = B>,
Reify a raw textures into a depth slot.
Implementations on Foreign Types
impl<B: ?Sized, D> DepthSlot<B, D> for () where
B: Framebuffer<D>,
D::Size: Copy,
D: Dimensionable,
[src]
B: Framebuffer<D>,
D::Size: Copy,
D: Dimensionable,
type DepthTexture = ()
fn depth_format() -> Option<PixelFormat>
[src]
fn reify_depth_texture<C>(
_: &mut C,
_: D::Size,
_: usize,
_: &Sampler,
_: &mut B::FramebufferRepr
) -> Result<Self::DepthTexture, FramebufferError> where
C: GraphicsContext<Backend = B>,
[src]
_: &mut C,
_: D::Size,
_: usize,
_: &Sampler,
_: &mut B::FramebufferRepr
) -> Result<Self::DepthTexture, FramebufferError> where
C: GraphicsContext<Backend = B>,
Implementors
impl<B: ?Sized, D, P> DepthSlot<B, D> for P where
B: Framebuffer<D> + TextureBackend<D, P>,
D: Dimensionable,
D::Size: Copy,
P: DepthPixel,
[src]
B: Framebuffer<D> + TextureBackend<D, P>,
D: Dimensionable,
D::Size: Copy,
P: DepthPixel,
type DepthTexture = Texture<B, D, P>
fn depth_format() -> Option<PixelFormat>
[src]
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>,
[src]
ctx: &mut C,
size: D::Size,
mipmaps: usize,
sampler: &Sampler,
framebuffer: &mut B::FramebufferRepr
) -> Result<Self::DepthTexture, FramebufferError> where
C: GraphicsContext<Backend = B>,