[−][src]Trait web_glitz::image::format::PixelPack
Trait implemented for types that represent data for a single pixel that can be packed from an image with a certain InternalFormat.
Unsafe
Must only be implemented for types that are binary compatible with the specified [TYPE_ID].
Additionally, the InternalFormat::ID of T, the [FORMAT_ID], and the [TYPE_ID] must be one of
the valid combinations enumerated in table 2.
Associated Constants
const FORMAT_ID: u32
Identifier for associated OpenGl format value.
const TYPE_ID: u32
Identifier for associated OpenGl type value.