diff options
Diffstat (limited to 'gfx/gl')
-rw-r--r-- | gfx/gl/vertexArrayObject.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gfx/gl/vertexArrayObject.h b/gfx/gl/vertexArrayObject.h index 085cba6..1d27588 100644 --- a/gfx/gl/vertexArrayObject.h +++ b/gfx/gl/vertexArrayObject.h @@ -46,6 +46,9 @@ public: return *this; } + // Customisation point + template<typename VertexT> VertexArrayObject & addAttribsFor(const GLuint arrayBuffer, const GLuint divisor = 0); + template<typename Indices> VertexArrayObject & addIndices(const GLuint arrayBuffer, const Indices & indices) |