Optimising the way mesh data is sent to the GPU.

This commit is contained in:
David Williams
2007-09-30 23:39:48 +00:00
parent d0386f8853
commit 909d020bff
2 changed files with 41 additions and 55 deletions

View File

@ -10,6 +10,9 @@
namespace Ogre
{
//IDEA - If profiling identifies this class as a bottleneck, we could implement a memory pooling system.
//All buffers could be powers of two, and we get the smallest one which is big enough for our needs.
//See http://www.ogre3d.org/wiki/index.php/DynamicGrowingBuffers
class SurfacePatchRenderable : public SimpleRenderable
{
public: