Enum vulkano::shader::ShaderScalarType
source · pub enum ShaderScalarType {
Float,
Sint,
Uint,
}
Expand description
The numeric base type of a shader variable.
Variants§
Trait Implementations§
source§impl Clone for ShaderScalarType
impl Clone for ShaderScalarType
source§fn clone(&self) -> ShaderScalarType
fn clone(&self) -> ShaderScalarType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ShaderScalarType
impl Debug for ShaderScalarType
source§impl From<NumericType> for ShaderScalarType
impl From<NumericType> for ShaderScalarType
source§fn from(val: NumericType) -> Self
fn from(val: NumericType) -> Self
Converts to this type from the input type.