rendy_texture::pixel

Type Alias Rg8Uscaled

Source
pub type Rg8Uscaled = Pixel<Rg, _8, Uscaled>;
Expand description

Pixel type alias.

Aliased Type§

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

Fields§

§repr: [u8; 2]

Pixel representation.

Trait Implementations§

Source§

impl AsPixel for Rg8Uscaled

Source§

const NAME: &'static str = "Rg8Uscaled"

Name of the pixel type.
Source§

const SIZE: u32 = 2u32

Size of the pixel.
Source§

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

Pixel format.