rendy_texture::pixel

Type Alias Rgb16Uscaled

Source
pub type Rgb16Uscaled = Pixel<Rgb, _16, Uscaled>;
Expand description

Pixel type alias.

Aliased Type§

struct Rgb16Uscaled {
    pub repr: [u16; 3],
}

Fields§

§repr: [u16; 3]

Pixel representation.

Trait Implementations§

Source§

impl AsPixel for Rgb16Uscaled

Source§

const NAME: &'static str = "Rgb16Uscaled"

Name of the pixel type.
Source§

const SIZE: u32 = 6u32

Size of the pixel.
Source§

const FORMAT: Format = rendy_core::hal::format::Format::Rgb16Uscaled

Pixel format.