pub fn required_shader_decode(
    device_caps: &DeviceCaps,
    image_format: &ImageFormat
) -> Option<ShaderDecoding>
Expand description

Determines if and how the shader needs to decode the image.

Assumes creation as done by texture_creation_desc_from_color_image.