rendy_texture::pixel

Type Alias Rg16Uint

Source
pub type Rg16Uint = Pixel<Rg, _16, Uint>;
Expand description

Pixel type alias.

Aliased Type§

struct Rg16Uint {
    pub repr: [u16; 2],
}

Fields§

§repr: [u16; 2]

Pixel representation.

Trait Implementations§

Source§

impl AsPixel for Rg16Uint

Source§

const NAME: &'static str = "Rg16Uint"

Name of the pixel type.
Source§

const SIZE: u32 = 4u32

Size of the pixel.
Source§

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

Pixel format.