Enum alto::DistanceModel[][src]

pub enum DistanceModel {
    None,
    Inverse,
    InverseClamped,
    Linear,
    LinearClamped,
    Exponent,
    ExponentClamped,
    Unknown(ALint),
}

The gain curve of sources as a function of distance to the listener.

Variants

AL_NONE

AL_INVERSE_DISTANCE

AL_INVERSE_DISTANCE_CLAMPED

AL_LINEAR_DISTANCE

AL_LINEAR_DISTANCE_CLAMPED

AL_EXPONENT_DISTANCE

AL_EXPONENT_DISTANCE_CLAMPLED

Trait Implementations

impl Copy for DistanceModel
[src]

impl Clone for DistanceModel
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for DistanceModel
[src]

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

This method tests for !=.

impl Eq for DistanceModel
[src]

impl Hash for DistanceModel
[src]

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

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

impl Debug for DistanceModel
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations