class Vector3;
class Vector4;
+/**
+Stores uniforms with a specific layout. Both named and default uniform blocks
+are supported.
+*/
class UniformBlock: public Bufferable
{
private:
private:
virtual unsigned get_data_size() const { return size; }
+ virtual unsigned get_alignment() const;
virtual void offset_changed();
virtual void upload_data() const;