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