-Uniform1i::Uniform1i(int v_):
- v(v_)
-{ }
-
-void Uniform1i::apply(int index) const
-{
- glUniform1iARB(index, v);
-}
-
-Uniform1i *Uniform1i::clone() const
-{
- return new Uniform1i(v);
-}
-
-
-Uniform1f::Uniform1f(float v_):
- v(v_)
-{ }
-
-void Uniform1f::apply(int index) const
-{
- glUniform1fARB(index, v);
-}
-
-Uniform1f *Uniform1f::clone() const
-{
- return new Uniform1f(v);
-}
-
-
-Uniform2f::Uniform2f(float v0, float v1)
-{
- v[0]=v0;
- v[1]=v1;
-}
-
-void Uniform2f::apply(int index) const