Trait solstice::shader::BasicUniformSetter [−][src]
pub trait BasicUniformSetter { fn set_uniform<U>(
&mut self,
gl: &mut Context,
value: <U as UniformTrait>::Value
)
where
Self: UniformGetter<U>,
U: UniformTrait,
<U as UniformTrait>::Value: Into<RawUniformValue>, { ... } fn bind_texture<U, T>(
&mut self,
gl: &mut Context,
texture: T,
texture_unit: <U as UniformTrait>::Value
)
where
Self: UniformGetter<U>,
U: UniformTrait,
<U as UniformTrait>::Value: Copy + Into<TextureUnit> + Into<RawUniformValue>,
T: Texture, { ... } }
Provided methods
fn set_uniform<U>(
&mut self,
gl: &mut Context,
value: <U as UniformTrait>::Value
) where
Self: UniformGetter<U>,
U: UniformTrait,
<U as UniformTrait>::Value: Into<RawUniformValue>,
[src]
&mut self,
gl: &mut Context,
value: <U as UniformTrait>::Value
) where
Self: UniformGetter<U>,
U: UniformTrait,
<U as UniformTrait>::Value: Into<RawUniformValue>,
fn bind_texture<U, T>(
&mut self,
gl: &mut Context,
texture: T,
texture_unit: <U as UniformTrait>::Value
) where
Self: UniformGetter<U>,
U: UniformTrait,
<U as UniformTrait>::Value: Copy + Into<TextureUnit> + Into<RawUniformValue>,
T: Texture,
[src]
&mut self,
gl: &mut Context,
texture: T,
texture_unit: <U as UniformTrait>::Value
) where
Self: UniformGetter<U>,
U: UniformTrait,
<U as UniformTrait>::Value: Copy + Into<TextureUnit> + Into<RawUniformValue>,
T: Texture,