- std::vector<const Uniform *> uniforms;
-
-public:
- DefaultUniformBlock();
-
- virtual void attach(const Program::UniformInfo &, const Uniform &);
- void attach(int, const Uniform &);
- void apply() const;
-};
-
-/** Stores uniforms for a buffer-backed uniform block. Uniform values are
-stored in a memory block which can be uploaded into a buffer and bound for use
-by a Program. */
-class BufferBackedUniformBlock: public UniformBlock, public Bufferable
-{
-private:
- unsigned size;