rendy_texture::pixel

Type Alias Rg16Unorm

Source
pub type Rg16Unorm = Pixel<Rg, _16, Unorm>;
Expand description

Pixel type alias.

Aliased Type§

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

Fields§

§repr: [u16; 2]

Pixel representation.

Trait Implementations§

Source§

impl AsPixel for Rg16Unorm

Source§

const NAME: &'static str = "Rg16Unorm"

Name of the pixel type.
Source§

const SIZE: u32 = 4u32

Size of the pixel.
Source§

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

Pixel format.