Trait TextureSrgbViewFormats

Source
pub trait TextureSrgbViewFormats {
    // Required method
    fn srgb_view_formats(&self) -> &'static [TextureFormat];
}
Expand description

Trait used to provide texture srgb view formats with static lifetime for TextureDescriptor.view_formats.

Required Methods§

Source

fn srgb_view_formats(&self) -> &'static [TextureFormat]

Returns the srgb view formats for a type.

Implementors§