check_texture_format

Function check_texture_format 

pub fn check_texture_format(
    format: TextureFormat,
    output: &NumericType,
) -> Result<(), NumericType>
Available on crate feature unstable-wgpu-26 only.
Expand description

Return true if the fragment format is covered by the provided output.