Enum alto::DistanceModel
[−]
[src]
pub enum DistanceModel { None, Inverse, InverseClamped, Linear, LinearClamped, Exponent, ExponentClamped, }
The gain curve of sources as a function of distance to the listener.
Variants
None
AL_NONE
Inverse
AL_INVERSE_DISTANCE
InverseClamped
AL_INVERSE_DISTANCE_CLAMPED
Linear
AL_LINEAR_DISTANCE
LinearClamped
AL_LINEAR_DISTANCE_CLAMPED
Exponent
AL_EXPONENT_DISTANCE
ExponentClamped
AL_EXPONENT_DISTANCE_CLAMPLED
Trait Implementations
impl Copy for DistanceModel
[src]
impl Clone for DistanceModel
[src]
fn clone(&self) -> DistanceModel
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for DistanceModel
[src]
fn eq(&self, __arg_0: &DistanceModel) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Eq for DistanceModel
[src]
impl Hash for DistanceModel
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.