rendy_texture::pixel

Type Alias Rgba8Srgb

Source
pub type Rgba8Srgb = Pixel<Rgba, _8, Srgb>;
Expand description

Pixel type alias.

Aliased Type§

struct Rgba8Srgb {
    pub repr: [u8; 4],
}

Fields§

§repr: [u8; 4]

Pixel representation.

Trait Implementations§

Source§

impl AsPixel for Rgba8Srgb

Source§

const NAME: &'static str = "Rgba8Srgb"

Name of the pixel type.
Source§

const SIZE: u32 = 4u32

Size of the pixel.
Source§

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

Pixel format.