public:
UniformScalar(Type v): value(v) { }
+ Type get() const { return value; }
+
virtual void apply(int index) const
{ apply(index, 1, &value); }
UniformVector(const T *vp)
{ std::copy(vp, vp+vecsize, value); }
+ BaseType get(unsigned i) const { return value[i]; }
+
virtual void apply(int index) const
{ apply(index, 1, value); }