Struct luminance::pixel::NormRGB8UI [−][src]
pub struct NormRGB8UI;
Expand description
A red, green and blue 8-bit unsigned integral pixel format, accessed as normalized floating pixels.
Trait Implementations
Encoding of a single pixel. It should match the PixelFormat
mapping.
type RawEncoding = u8
type RawEncoding = u8
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 = NormUnsigned
type SamplerType = NormUnsigned
The type of sampler required to access this pixel format.
Reify to PixelFormat
.
Auto Trait Implementations
impl RefUnwindSafe for NormRGB8UI
impl Send for NormRGB8UI
impl Sync for NormRGB8UI
impl Unpin for NormRGB8UI
impl UnwindSafe for NormRGB8UI
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