logo
pub trait TextureFormatPixelInfo {
    fn pixel_info(&self) -> PixelInfo;

    fn pixel_size(&self) -> usize { ... }
}
Expand description

Extends the wgpu TextureFormat with information about the pixel.

Required methods

Returns the pixel information of the format.

Provided methods

Returns the size of a pixel of the format.

Implementors