]> git.tdb.fi Git - libs/gl.git/commit
Generalize VertexBuffer into Buffer with support for other types as well
authorMikko Rasa <tdb@tdb.fi>
Sun, 24 May 2009 10:56:35 +0000 (10:56 +0000)
committerMikko Rasa <tdb@tdb.fi>
Sun, 24 May 2009 10:56:35 +0000 (10:56 +0000)
commit76e338af116120d93d082ad247591ec9adad9233
treeb46cbbb835376de687ff255fdd8adff8a59c8f14
parente17243fb2421977cb781361828b77718e2cf8d48
Generalize VertexBuffer into Buffer with support for other types as well
Support using index buffer for Mesh
Don't autoreset Immediate on end() to make it compatible with MeshBuilder
Add a RAII class for bindings
Make Program::bind const
15 files changed:
source/batch.cpp
source/batch.h
source/buffer.cpp [new file with mode: 0644]
source/buffer.h [new file with mode: 0644]
source/immediate.cpp
source/immediate.h
source/mesh.cpp
source/mesh.h
source/misc.h
source/program.cpp
source/program.h
source/vertexarray.cpp
source/vertexarray.h
source/vertexbuffer.cpp [deleted file]
source/vertexbuffer.h