rendy_texture::pixel

Type Alias R16Uscaled

Source
pub type R16Uscaled = Pixel<R, _16, Uscaled>;
Expand description

Pixel type alias.

Aliased Type§

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

Fields§

§repr: [u16; 1]

Pixel representation.

Trait Implementations§

Source§

impl AsPixel for R16Uscaled

Source§

const NAME: &'static str = "R16Uscaled"

Name of the pixel type.
Source§

const SIZE: u32 = 2u32

Size of the pixel.
Source§

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

Pixel format.