rendy_texture::pixel

Type Alias Bgr8Unorm

Source
pub type Bgr8Unorm = Pixel<Bgr, _8, Unorm>;
Expand description

Pixel type alias.

Aliased Type§

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

Fields§

§repr: [u8; 3]

Pixel representation.

Trait Implementations§

Source§

impl AsPixel for Bgr8Unorm

Source§

const NAME: &'static str = "Bgr8Unorm"

Name of the pixel type.
Source§

const SIZE: u32 = 3u32

Size of the pixel.
Source§

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

Pixel format.