[][src]Trait solstice::shader::UniformTrait

pub trait UniformTrait {
    type Value;

    pub const NAME: &'static str;

    pub fn get_location(&self) -> Option<&UniformLocation>;

    pub fn update(&self, ctx: &mut Context, v: Self::Value)
    where
        Self::Value: TryInto<RawUniformValue>
, { ... } }

Associated Types

Loading content...

Associated Constants

pub const NAME: &'static str[src]

Loading content...

Required methods

Loading content...

Provided methods

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

Loading content...

Implementors

Loading content...