From be74509b31b26e714c6b380e17ed3935ec0b6cf0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 12 Jun 2014 23:23:00 +0300 Subject: In modernopengl add support for buffered draw tile collection. This is first cached function implemented in modernopengl. Also add support for bind buffer attributes. Add finalize method to convert any cached data into data for GPU. --- src/graphicsvertexes.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/graphicsvertexes.h') diff --git a/src/graphicsvertexes.h b/src/graphicsvertexes.h index 84597ad73..2acd7ae06 100644 --- a/src/graphicsvertexes.h +++ b/src/graphicsvertexes.h @@ -124,6 +124,7 @@ class OpenGLGraphicsVertexes final std::vector mIntVertPool; std::vector mShortVertPool; std::vector mIntTexPool; + std::vector mVbo; }; #endif @@ -146,6 +147,7 @@ class ImageVertexes final }; typedef std::vector ImageVertexesVector; +typedef ImageVertexesVector::iterator ImageCollectionIter; typedef ImageVertexesVector::const_iterator ImageCollectionCIter; class ImageCollection final -- cgit v1.2.3-60-g2f50