Enum 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]

[src]

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

[src]

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

[src]

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

[src]

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

Trait Implementations

impl Debug for TextureFormat
[src]

[src]

Formats the value using the given formatter.

impl Clone for TextureFormat
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for TextureFormat
[src]

impl Hash for TextureFormat
[src]

[src]

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

1.3.0
[src]

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

impl PartialEq for TextureFormat
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for TextureFormat
[src]