Enum vulkano::shader::ShaderScalarType
source · [−]pub enum ShaderScalarType {
Float,
Sint,
Uint,
}
Expand description
The numeric base type of a shader variable.
Variants
Float
Sint
Uint
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ShaderScalarType
impl Send for ShaderScalarType
impl Sync for ShaderScalarType
impl Unpin for ShaderScalarType
impl UnwindSafe for ShaderScalarType
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.