Enum dae_parser::SurfaceRange
source · pub enum SurfaceRange {
SNorm,
UNorm,
SInt,
UInt,
Float,
}
Expand description
The range of texel channel values. Each channel represents a range of values. Some example ranges are signed or unsigned integers, or are within a clamped range such as 0.0f to 1.0f, or are a high dynamic range via floating point.
Variants§
SNorm
Format represents a decimal value that remains within the -1 to 1 range. Implementation could be integer, fixed-point, or float.
UNorm
Format represents a decimal value that remains within the 0 to 1 range. Implementation could be integer, fixed-point, or float.
SInt
Format represents signed integer numbers; for example, 8 bits can represent -128 to 127.
UInt
Format represents unsigned integer numbers. For example, 8 bits can represent 0 to 255.
Float
Format should support full floating-point ranges typically used for high dynamic range.
Implementations§
Trait Implementations§
source§impl Clone for SurfaceRange
impl Clone for SurfaceRange
source§fn clone(&self) -> SurfaceRange
fn clone(&self) -> SurfaceRange
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 SurfaceRange
impl Debug for SurfaceRange
source§impl Display for SurfaceRange
impl Display for SurfaceRange
source§impl FromStr for SurfaceRange
impl FromStr for SurfaceRange
source§impl PartialEq<SurfaceRange> for SurfaceRange
impl PartialEq<SurfaceRange> for SurfaceRange
source§fn eq(&self, other: &SurfaceRange) -> bool
fn eq(&self, other: &SurfaceRange) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.