rendy_texture::pixel

Type Alias R32Sfloat

Source
pub type R32Sfloat = Pixel<R, _32, Float>;
Expand description

Pixel type alias.

Aliased Type§

struct R32Sfloat {
    pub repr: [f32; 1],
}

Fields§

§repr: [f32; 1]

Pixel representation.

Trait Implementations§

Source§

impl AsPixel for R32Sfloat

Source§

const NAME: &'static str = "R32Sfloat"

Name of the pixel type.
Source§

const SIZE: u32 = 4u32

Size of the pixel.
Source§

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

Pixel format.