rendy_texture::pixel

Type Alias Abgr8Srgb

Source
pub type Abgr8Srgb = Pixel<Abgr, _8, Srgb>;
Expand description

Pixel type alias.

Aliased Type§

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

Fields§

§repr: [u8; 4]

Pixel representation.

Trait Implementations§

Source§

impl AsPixel for Abgr8Srgb

Source§

const NAME: &'static str = "Abgr8Srgb"

Name of the pixel type.
Source§

const SIZE: u32 = 4u32

Size of the pixel.
Source§

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

Pixel format.