Enum dae_parser::SurfaceOption
source · pub enum SurfaceOption {
SrgbGamma,
Normalized3,
Normalized4,
Compressible,
}
Expand description
Contains additional hints about data relationships and other things to help an application pick the best format.
Variants§
SrgbGamma
Colors are stored with respect to the sRGB 2.2 gamma curve rather than linear.
Normalized3
The texel’s XYZ/RGB should be normalized such as in a normal map.
Normalized4
The texel’s XYZW/RGBA should be normalized such as in a normal map.
Compressible
The surface may use run-time compression.
Consider the best compression based on desired SurfaceChannels
,
SurfaceRange
, SurfacePrecision
, and SurfaceOption
s.
Implementations§
Trait Implementations§
source§impl Clone for SurfaceOption
impl Clone for SurfaceOption
source§fn clone(&self) -> SurfaceOption
fn clone(&self) -> SurfaceOption
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 SurfaceOption
impl Debug for SurfaceOption
source§impl Display for SurfaceOption
impl Display for SurfaceOption
source§impl FromStr for SurfaceOption
impl FromStr for SurfaceOption
source§impl PartialEq<SurfaceOption> for SurfaceOption
impl PartialEq<SurfaceOption> for SurfaceOption
source§fn eq(&self, other: &SurfaceOption) -> bool
fn eq(&self, other: &SurfaceOption) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.