Enum dae_parser::SurfaceRange [−][src]
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
Auto Trait Implementations
impl RefUnwindSafe for SurfaceRange
impl Send for SurfaceRange
impl Sync for SurfaceRange
impl Unpin for SurfaceRange
impl UnwindSafe for SurfaceRange
Blanket Implementations
Mutably borrows from an owned value. Read more