Enum glium::texture::CompressedSrgbFormat
[−]
[src]
pub enum CompressedSrgbFormat {
Bptc,
S3tcDxt1NoAlpha,
S3tcDxt1Alpha,
S3tcDxt3Alpha,
S3tcDxt5Alpha,
}List of compressed pixel formats in the sRGB color space.
Variants
Bptc | BPTC format. sRGB with alpha. Also called |
S3tcDxt1NoAlpha | |
S3tcDxt1Alpha | |
S3tcDxt3Alpha | |
S3tcDxt5Alpha |
Methods
impl CompressedSrgbFormat
fn get_formats_list() -> Vec<CompressedSrgbFormat>
Returns a list of all the possible values of this enumeration.
fn to_texture_format(self) -> TextureFormat
Turns this format into a more generic TextureFormat.
fn is_supported<C>(&self, context: &C) -> bool where C: CapabilitiesSource
Returns true if this format is supported by the backend.