Enum luminance::pixel::Type [−][src]
pub enum Type {
NormIntegral,
NormUnsigned,
Integral,
Unsigned,
Floating,
}
Expand description
Pixel type.
- Normalized integer types:
NormIntegral
andNormUnsigned
represent integer types (signed and unsigned, respectively). However, they are normalized when used in shader stages, i.e. fetching from them will yield a floating-point value. That value is comprised between0.0
and1.0
. - Integer types:
Integral
andUnsigned
allows to store signed and unsigned integers, respectively. - Floating-point types: currently, only
Floating
is supported.
Variants
NormIntegral
Normalized signed integral pixel type.
NormUnsigned
Normalized unsigned integral pixel type.
Integral
Signed integral pixel type.
Unsigned
Unsigned integral pixel type.
Floating
Floating-point pixel type.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Type
impl UnwindSafe for Type
Blanket Implementations
Mutably borrows from an owned value. Read more