Enum dae_parser::SurfacePrecision
source · pub enum SurfacePrecision {
Low,
Mid,
High,
}
Expand description
The precision of the texel channel value.
Each channel of the texel has a precision. Typically, channels have the same precision. An exact format may lower the precision of an individual channel but applying a higher precision by linking the channels may still convey the same information.
Variants§
Low
For integers, this typically represents 8 bits. For floats, typically 16 bits.
Mid
For integers, this typically represents 8 to 24 bits. For floats, typically 16 to 32 bits.
High
For integers, this typically represents 16 to 32 bits. For floats, typically 24 to 32 bits.
Implementations§
Trait Implementations§
source§impl Clone for SurfacePrecision
impl Clone for SurfacePrecision
source§fn clone(&self) -> SurfacePrecision
fn clone(&self) -> SurfacePrecision
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SurfacePrecision
impl Debug for SurfacePrecision
source§impl Display for SurfacePrecision
impl Display for SurfacePrecision
source§impl FromStr for SurfacePrecision
impl FromStr for SurfacePrecision
source§impl PartialEq<SurfacePrecision> for SurfacePrecision
impl PartialEq<SurfacePrecision> for SurfacePrecision
source§fn eq(&self, other: &SurfacePrecision) -> bool
fn eq(&self, other: &SurfacePrecision) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.