Enum glitter::texture::TxCubeMapImageTarget [] [src]

pub enum TxCubeMapImageTarget {
    CubeMapPositiveX,
    CubeMapNegativeX,
    CubeMapPositiveY,
    CubeMapNegativeY,
    CubeMapPositiveZ,
    CubeMapNegativeZ,
}

The possible 2D image targets for a cubemap texture.

Variants

The positive-X image target face of a cubemap.

The negative-X image target face of a cubemap.

The positive-Y image target face of a cubemap.

The negative-Y image target face of a cubemap.

The positive-Z image target face of a cubemap.

The negative-Z image target face of a cubemap.

Methods

impl TxCubeMapImageTarget
[src]

[src]

Convert from a raw OpenGL integer value to an enum variant. Returns an error if the value is not a valid enum variant.

[src]

Return the OpenGL integer value for a given enum variant.

Trait Implementations

impl Debug for TxCubeMapImageTarget
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for TxCubeMapImageTarget
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for TxCubeMapImageTarget
[src]

impl PartialEq for TxCubeMapImageTarget
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Eq for TxCubeMapImageTarget
[src]

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

[src]

Get the raw OpenGL enum value for an image target.