Enum freya::hooks::UniformValue
pub enum UniformValue {
Float(f32),
FloatVec(Vec<f32, Global>),
}
Expand description
Uniform value to be passed to a Shader.
Variants§
Auto Trait Implementations§
impl RefUnwindSafe for UniformValue
impl Send for UniformValue
impl Sync for UniformValue
impl Unpin 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