Struct luminance::pixel::R11G11B10F [−][src]
pub struct R11G11B10F;
Expand description
A red, green and blue pixel format in which:
- The red channel is on 11 bits.
- The green channel is on 11 bits, too.
- The blue channel is on 10 bits.
Trait Implementations
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 R11G11B10F
impl Send for R11G11B10F
impl Sync for R11G11B10F
impl Unpin for R11G11B10F
impl UnwindSafe for R11G11B10F
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<B, D, P> ColorSlot<B, D> for P where
B: Framebuffer<D> + Texture<D, P> + ?Sized,
D: Dimensionable,
P: ColorPixel + RenderablePixel,
<D as Dimensionable>::Size: Copy,
impl<B, D, P> ColorSlot<B, D> for P where
B: Framebuffer<D> + Texture<D, P> + ?Sized,
D: Dimensionable,
P: ColorPixel + RenderablePixel,
<D as Dimensionable>::Size: Copy,
type ColorTextures = Texture<B, D, P>
type ColorTextures = Texture<B, D, P>
The associated data. Read more
Pixel format representing the color slot. Read more
pub fn reify_color_textures<C>(
&mut C,
<D as Dimensionable>::Size,
usize,
&Sampler,
&mut <B as Framebuffer<D>>::FramebufferRepr,
usize
) -> Result<<P as ColorSlot<B, D>>::ColorTextures, FramebufferError> where
C: GraphicsContext<Backend = B>,
pub fn reify_color_textures<C>(
&mut C,
<D as Dimensionable>::Size,
usize,
&Sampler,
&mut <B as Framebuffer<D>>::FramebufferRepr,
usize
) -> Result<<P as ColorSlot<B, D>>::ColorTextures, FramebufferError> where
C: GraphicsContext<Backend = B>,
Reify the color slots into 0, 1 or several textures. Read more