rendy_texture::pixel

Type Alias Rgba16Unorm

Source
pub type Rgba16Unorm = Pixel<Rgba, _16, Unorm>;
Expand description

Pixel type alias.

Aliased Type§

struct Rgba16Unorm {
    pub repr: [u16; 4],
}

Fields§

§repr: [u16; 4]

Pixel representation.

Trait Implementations§

Source§

impl AsPixel for Rgba16Unorm

Source§

const NAME: &'static str = "Rgba16Unorm"

Name of the pixel type.
Source§

const SIZE: u32 = 8u32

Size of the pixel.
Source§

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

Pixel format.