rendy_texture::pixel

Type Alias Rgb32Sfloat

Source
pub type Rgb32Sfloat = Pixel<Rgb, _32, Float>;
Expand description

Pixel type alias.

Aliased Type§

struct Rgb32Sfloat {
    pub repr: [f32; 3],
}

Fields§

§repr: [f32; 3]

Pixel representation.

Trait Implementations§

Source§

impl AsPixel for Rgb32Sfloat

Source§

const NAME: &'static str = "Rgb32Sfloat"

Name of the pixel type.
Source§

const SIZE: u32 = 12u32

Size of the pixel.
Source§

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

Pixel format.