Enum vulkano::format::NumericType [−][src]
pub enum NumericType {
SFLOAT,
UFLOAT,
SINT,
UINT,
SNORM,
UNORM,
SSCALED,
USCALED,
SRGB,
}
Expand description
The numeric type that represents data of a format in memory.
Variants
SFLOAT
Signed floating-point number.
UFLOAT
Unsigned floating-point number.
SINT
Signed integer.
UINT
Unsigned integer.
SNORM
Signed integer that represents a normalized floating-point value in the range [-1,1].
UNORM
Unsigned integer that represents a normalized floating-point value in the range [0,1].
SSCALED
Signed integer that is converted to a floating-point value directly.
USCALED
Unsigned integer that is converted to a floating-point value directly.
SRGB
Unsigned integer where R, G, B components represent a normalized floating-point value in the
sRGB color space, while the A component is a simple normalized value as in UNORM
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for NumericType
impl Send for NumericType
impl Sync for NumericType
impl Unpin for NumericType
impl UnwindSafe for NumericType
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.