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

Loading content...

Associated Constants

const NAME: &'static str[src]

Loading content...

Required methods

Loading content...

Provided methods

fn update(&self, ctx: &mut Context, v: Self::Value) where
    Self::Value: TryInto<RawUniformValue>, 
[src]

Loading content...

Implementors

Loading content...