Function wgpu::core::validation::check_texture_format

source ·
pub fn check_texture_format(
    format: TextureFormat,
    output: &NumericType
) -> Result<(), NumericType>
Available on wgpu_core only.
Expand description

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