rendy_texture::pixel

Type Alias Rg8Unorm

Source
pub type Rg8Unorm = Pixel<Rg, _8, Unorm>;
Expand description

Pixel type alias.

Aliased Type§

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

Fields§

§repr: [u8; 2]

Pixel representation.

Trait Implementations§

Source§

impl AsPixel for Rg8Unorm

Source§

const NAME: &'static str = "Rg8Unorm"

Name of the pixel type.
Source§

const SIZE: u32 = 2u32

Size of the pixel.
Source§

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

Pixel format.