]> git.tdb.fi Git - libs/gl.git/blobdiff - source/buffer.h
Lots of comment updates
[libs/gl.git] / source / buffer.h
index bd3a999eeab0d19da7aea2f94b90abae390f4a74..206cec8d0d2c580aef949b94acb4539c57a21a11 100644 (file)
@@ -33,8 +33,8 @@ class BufferRange;
 
 /**
 A buffer for storing data in GL memory.  Putting vertex and index data in
-buffers can improve rendering performance.  The VertexArray and Mesh classes
-contain built-in support for buffers.
+buffers can improve rendering performance.  The VertexArray, Mesh and
+UniformBlock classes contain built-in support for buffers.
 */
 class Buffer
 {
@@ -135,6 +135,7 @@ private:
 
 public:
        static unsigned get_n_uniform_buffer_bindings();
+       static unsigned get_uniform_buffer_alignment();
 };
 
 } // namespace GL