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
Signed floating-point number.
Unsigned floating-point number.
Signed integer.
Unsigned integer.
Signed integer that represents a normalized floating-point value in the range [-1,1].
Unsigned integer that represents a normalized floating-point value in the range [0,1].
Signed integer that is converted to a floating-point value directly.
Unsigned integer that is converted to a floating-point value directly.
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.