rendy_texture::pixel

Type Alias R16Sscaled

Source
pub type R16Sscaled = Pixel<R, _16, Iscaled>;
Expand description

Pixel type alias.

Aliased Type§

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

Fields§

§repr: [u16; 1]

Pixel representation.

Trait Implementations§

Source§

impl AsPixel for R16Sscaled

Source§

const NAME: &'static str = "R16Sscaled"

Name of the pixel type.
Source§

const SIZE: u32 = 2u32

Size of the pixel.
Source§

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

Pixel format.