Struct luminance::pixel::Depth32FStencil8 [−][src]
pub struct Depth32FStencil8;
Expand description
A depth 24-bit + stencil 8-bit pixel format.
Trait Implementations
impl<B, D> DepthStencilSlot<B, D> for Depth32FStencil8 where
B: ?Sized + Framebuffer<D> + TextureBackend<D, Depth32FStencil8>,
D: Dimensionable,
D::Size: Copy,
impl<B, D> DepthStencilSlot<B, D> for Depth32FStencil8 where
B: ?Sized + Framebuffer<D> + TextureBackend<D, Depth32FStencil8>,
D: Dimensionable,
D::Size: Copy,
type DepthStencilTexture = Texture<B, D, Depth32FStencil8>
type DepthStencilTexture = Texture<B, D, Depth32FStencil8>
Depth data associated with this slot.
Turn a depth/stencil slot into a pixel format representing the depth information.
fn reify_depth_texture<C>(
ctx: &mut C,
size: D::Size,
mipmaps: usize,
sampler: &Sampler,
framebuffer: &mut B::FramebufferRepr
) -> Result<Self::DepthStencilTexture, FramebufferError> where
C: GraphicsContext<Backend = B>,
fn reify_depth_texture<C>(
ctx: &mut C,
size: D::Size,
mipmaps: usize,
sampler: &Sampler,
framebuffer: &mut B::FramebufferRepr
) -> Result<Self::DepthStencilTexture, FramebufferError> where
C: GraphicsContext<Backend = B>,
Reify a raw texture into a depth slot.
Encoding of a single pixel. It should match the PixelFormat
mapping.
type RawEncoding = f32
type RawEncoding = f32
Raw encoding of a single pixel; i.e. that is, encoding of underlying values in contiguous
texture memory, without taking into account channels. It should match the PixelFormat
mapping. Read more
type SamplerType = Floating
type SamplerType = Floating
The type of sampler required to access this pixel format.
Reify to PixelFormat
.
Auto Trait Implementations
impl RefUnwindSafe for Depth32FStencil8
impl Send for Depth32FStencil8
impl Sync for Depth32FStencil8
impl Unpin for Depth32FStencil8
impl UnwindSafe for Depth32FStencil8
Blanket Implementations
Mutably borrows from an owned value. Read more