pub enum UniformValue {
Int(String, i32),
Uint(String, u32),
Float(String, f32),
Vec2(String, f32, f32),
Vec3(String, f32, f32, f32),
Vec4(String, f32, f32, f32, f32),
}Expand description
A uniform value to set before dispatch.
Variants§
Int(String, i32)
Uint(String, u32)
Float(String, f32)
Vec2(String, f32, f32)
Vec3(String, f32, f32, f32)
Vec4(String, f32, f32, f32, f32)
Trait Implementations§
Source§impl Clone for UniformValue
impl Clone for UniformValue
Source§fn clone(&self) -> UniformValue
fn clone(&self) -> UniformValue
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for UniformValue
impl RefUnwindSafe for UniformValue
impl Send for UniformValue
impl Sync for UniformValue
impl Unpin for UniformValue
impl UnsafeUnpin for UniformValue
impl UnwindSafe for UniformValue
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more