[−][src]Struct luminance::pixel::NormRG8I
A red and green 8-bit integral pixel format, accessed as normalized floating pixels.
Trait Implementations
impl Clone for NormRG8I
[src]
impl ColorPixel for NormRG8I
[src]
impl Copy for NormRG8I
[src]
impl Debug for NormRG8I
[src]
impl Pixel for NormRG8I
[src]
type Encoding = (i8, i8)
Encoding of a single pixel. It should match the PixelFormat
mapping.
type RawEncoding = i8
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
The type of sampler required to access this pixel format.
fn pixel_format() -> PixelFormat
[src]
impl RenderablePixel for NormRG8I
[src]
Auto Trait Implementations
impl RefUnwindSafe for NormRG8I
impl Send for NormRG8I
impl Sync for NormRG8I
impl Unpin for NormRG8I
impl UnwindSafe for NormRG8I
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<L, D, P> ColorSlot<L, D> for P where
D: Dimensionable,
L: Layerable,
P: ColorPixel + RenderablePixel,
<D as Dimensionable>::Size: Copy,
[src]
D: Dimensionable,
L: Layerable,
P: ColorPixel + RenderablePixel,
<D as Dimensionable>::Size: Copy,
type ColorTextures = Texture<L, D, P>
Textures associated with this color slot.
fn color_formats() -> Vec<PixelFormat>
[src]
fn reify_textures<C, I>(
&mut C,
<D as Dimensionable>::Size,
usize,
&mut I
) -> <P as ColorSlot<L, D>>::ColorTextures where
C: GraphicsContext,
I: Iterator<Item = u32>,
[src]
&mut C,
<D as Dimensionable>::Size,
usize,
&mut I
) -> <P as ColorSlot<L, D>>::ColorTextures where
C: GraphicsContext,
I: Iterator<Item = u32>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,