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