rendy_texture::pixel

Type Alias R8Sscaled

Source
pub type R8Sscaled = Pixel<R, _8, Iscaled>;
Expand description

Pixel type alias.

Aliased Type§

struct R8Sscaled {
    pub repr: [u8; 1],
}

Fields§

§repr: [u8; 1]

Pixel representation.

Trait Implementations§

Source§

impl AsPixel for R8Sscaled

Source§

const NAME: &'static str = "R8Sscaled"

Name of the pixel type.
Source§

const SIZE: u32 = 1u32

Size of the pixel.
Source§

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

Pixel format.