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