Trait solstice::shader::UniformTrait [−][src]
pub trait UniformTrait { type Value; const NAME: &'static str; fn get_location(&self) -> Option<&UniformLocation>; fn update(&self, ctx: &mut Context, v: Self::Value)
where
Self::Value: TryInto<RawUniformValue>, { ... } }
Associated Types
Associated Constants
Required methods
fn get_location(&self) -> Option<&UniformLocation>
[src]
Provided methods
fn update(&self, ctx: &mut Context, v: Self::Value) where
Self::Value: TryInto<RawUniformValue>,
[src]
Self::Value: TryInto<RawUniformValue>,