rendy_texture::pixel

Type Alias Rgb8Srgb

Source
pub type Rgb8Srgb = Pixel<Rgb, _8, Srgb>;
Expand description

Pixel type alias.

Aliased Type§

struct Rgb8Srgb {
    pub repr: [u8; 3],
}

Fields§

§repr: [u8; 3]

Pixel representation.

Trait Implementations§

Source§

impl AsPixel for Rgb8Srgb

Source§

const NAME: &'static str = "Rgb8Srgb"

Name of the pixel type.
Source§

const SIZE: u32 = 3u32

Size of the pixel.
Source§

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

Pixel format.