rendy_texture::pixel

Type Alias Rg16Sscaled

Source
pub type Rg16Sscaled = Pixel<Rg, _16, Iscaled>;
Expand description

Pixel type alias.

Aliased Type§

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

Fields§

§repr: [u16; 2]

Pixel representation.

Trait Implementations§

Source§

impl AsPixel for Rg16Sscaled

Source§

const NAME: &'static str = "Rg16Sscaled"

Name of the pixel type.
Source§

const SIZE: u32 = 4u32

Size of the pixel.
Source§

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

Pixel format.