rendy_texture::pixel

Type Alias R16Sint

Source
pub type R16Sint = Pixel<R, _16, Int>;
Expand description

Pixel type alias.

Aliased Type§

struct R16Sint {
    pub repr: [u16; 1],
}

Fields§

§repr: [u16; 1]

Pixel representation.

Trait Implementations§

Source§

impl AsPixel for R16Sint

Source§

const NAME: &'static str = "R16Sint"

Name of the pixel type.
Source§

const SIZE: u32 = 2u32

Size of the pixel.
Source§

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

Pixel format.