[−][src]Trait rendy_texture::pixel::AsPixel
AsPixel trait for extracting the underlying data representation information from a Rust data type
Example
struct Rgba([u8; 4]);
Associated Constants
const NAME: &'static str
Name of the pixel type.
const SIZE: u32
Size of the pixel.
const FORMAT: Format
Pixel format.