rendy_texture::pixel

Type Alias R16Snorm

Source
pub type R16Snorm = Pixel<R, _16, Inorm>;
Expand description

Pixel type alias.

Aliased Type§

struct R16Snorm {
    pub repr: [u16; 1],
}

Fields§

§repr: [u16; 1]

Pixel representation.

Trait Implementations§

Source§

impl AsPixel for R16Snorm

Source§

const NAME: &'static str = "R16Snorm"

Name of the pixel type.
Source§

const SIZE: u32 = 2u32

Size of the pixel.
Source§

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

Pixel format.