rendy_texture::pixel

Type Alias Bgra8Uscaled

Source
pub type Bgra8Uscaled = Pixel<Bgra, _8, Uscaled>;
Expand description

Pixel type alias.

Aliased Type§

struct Bgra8Uscaled {
    pub repr: [u8; 4],
}

Fields§

§repr: [u8; 4]

Pixel representation.

Trait Implementations§

Source§

impl AsPixel for Bgra8Uscaled

Source§

const NAME: &'static str = "Bgra8Uscaled"

Name of the pixel type.
Source§

const SIZE: u32 = 4u32

Size of the pixel.
Source§

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

Pixel format.