[][src]Struct luminance::pixel::R11G11B10F

pub struct R11G11B10F;

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

impl Pixel for R11G11B10F[src]

type Encoding = (f32, f32, f32, f32)

Encoding of a single pixel. It should match the PixelFormat mapping.

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

The type of sampler required to access this pixel format.

impl ColorPixel for R11G11B10F[src]

impl RenderablePixel for R11G11B10F[src]

impl Clone for R11G11B10F[src]

impl Copy for R11G11B10F[src]

impl Debug for R11G11B10F[src]

Auto Trait Implementations

Blanket Implementations

impl<L, D, P> ColorSlot<L, D> for P where
    D: Dimensionable,
    L: Layerable,
    P: ColorPixel + RenderablePixel,
    <D as Dimensionable>::Size: Copy
[src]

type ColorTextures = Texture<L, D, P>

Textures associated with this color slot.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]