pub type Vector2 = Vector2<f32>;
Expand description
Vector2, 2x f32 components
Aliased Type§
struct Vector2 {
pub x: f32,
pub y: f32,
}
Fields§
§x: f32
§y: f32
Trait Implementations§
Source§impl ShaderValue for Vector2
impl ShaderValue for Vector2
Source§const UNIFORM_TYPE: ShaderUniformDataType = ShaderUniformDataType::Vec2
const UNIFORM_TYPE: ShaderUniformDataType = ShaderUniformDataType::Vec2
Uniform type assiciated with the value