Enum nannou::ui::backend::glium::glium::texture::TextureFormat[][src]

pub enum TextureFormat {
    UncompressedFloat(UncompressedFloatFormat),
    UncompressedIntegral(UncompressedIntFormat),
    UncompressedUnsigned(UncompressedUintFormat),
    Srgb(SrgbFormat),
    CompressedFormat(CompressedFormat),
    CompressedSrgbFormat(CompressedSrgbFormat),
    DepthFormat(DepthFormat),
    StencilFormat(StencilFormat),
    DepthStencilFormat(DepthStencilFormat),
}

Format of the internal representation of a texture.

Variants

Methods

impl TextureFormat
[src]

Important traits for Vec<u8>

Returns a list of all the possible values of this enumeration.

Returns true if this format is supported by the backend for textures.

Returns true if this format is supported by the backend for renderbuffers.

Returns true if the format is color-renderable, depth-renderable, depth-stencil-renderable or stencil-renderable.

Trait Implementations

impl Hash for TextureFormat
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Clone for TextureFormat
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for TextureFormat
[src]

Formats the value using the given formatter. Read more

impl Copy for TextureFormat
[src]

impl Eq for TextureFormat
[src]

impl PartialEq<TextureFormat> for TextureFormat
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations