Function re_viewer_context::gpu_bridge::required_shader_decode
source · 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
.