rendy_texture::pixel

Type Alias Rg8Srgb

Source
pub type Rg8Srgb = Pixel<Rg, _8, Srgb>;
Expand description

Pixel type alias.

Aliased Type§

struct Rg8Srgb {
    pub repr: [u8; 2],
}

Fields§

§repr: [u8; 2]

Pixel representation.

Trait Implementations§

Source§

impl AsPixel for Rg8Srgb

Source§

const NAME: &'static str = "Rg8Srgb"

Name of the pixel type.
Source§

const SIZE: u32 = 2u32

Size of the pixel.
Source§

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

Pixel format.