rendy_texture::pixel

Type Alias Rg32Sfloat

Source
pub type Rg32Sfloat = Pixel<Rg, _32, Float>;
Expand description

Pixel type alias.

Aliased Type§

struct Rg32Sfloat {
    pub repr: [f32; 2],
}

Fields§

§repr: [f32; 2]

Pixel representation.

Trait Implementations§

Source§

impl AsPixel for Rg32Sfloat

Source§

const NAME: &'static str = "Rg32Sfloat"

Name of the pixel type.
Source§

const SIZE: u32 = 8u32

Size of the pixel.
Source§

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

Pixel format.