rendy_texture::pixel

Type Alias Rg8Sscaled

Source
pub type Rg8Sscaled = Pixel<Rg, _8, Iscaled>;
Expand description

Pixel type alias.

Aliased Type§

struct Rg8Sscaled {
    pub repr: [u8; 2],
}

Fields§

§repr: [u8; 2]

Pixel representation.

Trait Implementations§

Source§

impl AsPixel for Rg8Sscaled

Source§

const NAME: &'static str = "Rg8Sscaled"

Name of the pixel type.
Source§

const SIZE: u32 = 2u32

Size of the pixel.
Source§

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

Pixel format.