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

pub enum DepthFormat {
    I16,
    I24,
    I32,
    F32,
}

List of formats available for depth textures.

I16, I24 and I32 are still treated as if they were floating points. Only the internal representation is integral.

Variants

May not be supported by all hardware.

Methods

impl DepthFormat
[src]

Important traits for Vec<u8>

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

Turns this format into a more generic TextureFormat.

Returns true if this format is supported by the backend.

Trait Implementations

impl Hash for DepthFormat
[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 DepthFormat
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for DepthFormat
[src]

Formats the value using the given formatter. Read more

impl Copy for DepthFormat
[src]

impl Eq for DepthFormat
[src]

impl PartialEq<DepthFormat> for DepthFormat
[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

impl Send for DepthFormat

impl Sync for DepthFormat