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
sourceimpl SurfaceOption
impl SurfaceOption
Trait Implementations
sourceimpl Clone for SurfaceOption
impl Clone for SurfaceOption
sourcefn clone(&self) -> SurfaceOption
fn clone(&self) -> SurfaceOption
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SurfaceOption
impl Debug for SurfaceOption
sourceimpl Display for SurfaceOption
impl Display for SurfaceOption
sourceimpl FromStr for SurfaceOption
impl FromStr for SurfaceOption
sourceimpl PartialEq<SurfaceOption> for SurfaceOption
impl PartialEq<SurfaceOption> for SurfaceOption
impl Copy for SurfaceOption
impl Eq for SurfaceOption
impl StructuralEq for SurfaceOption
impl StructuralPartialEq for SurfaceOption
Auto Trait Implementations
impl RefUnwindSafe for SurfaceOption
impl Send for SurfaceOption
impl Sync for SurfaceOption
impl Unpin for SurfaceOption
impl UnwindSafe for SurfaceOption
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more