rendy_texture::pixel

Type Alias Rgb16Sint

Source
pub type Rgb16Sint = Pixel<Rgb, _16, Int>;
Expand description

Pixel type alias.

Aliased Type§

struct Rgb16Sint {
    pub repr: [u16; 3],
}

Fields§

§repr: [u16; 3]

Pixel representation.

Trait Implementations§

Source§

impl AsPixel for Rgb16Sint

Source§

const NAME: &'static str = "Rgb16Sint"

Name of the pixel type.
Source§

const SIZE: u32 = 6u32

Size of the pixel.
Source§

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

Pixel format.