Commit 795563c4 authored by Jan Möbius's avatar Jan Möbius
Browse files

Introduced update textures signal


git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@11723 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 25aa4159
......@@ -139,7 +139,7 @@ private:
unsigned int numTris;
};
enum REBUILD_TYPE {REBUILD_NONE = 0, REBUILD_FULL = 1, REBUILD_GEOMETRY = 2, REBUILD_TOPOLOGY = 4};
enum REBUILD_TYPE {REBUILD_NONE = 0, REBUILD_FULL = 1, REBUILD_GEOMETRY = 2, REBUILD_TOPOLOGY = 4, REBUILD_TEXTURES = 5};
public:
......@@ -195,6 +195,10 @@ public:
*/
void updateGeometry() {rebuild_ |= REBUILD_GEOMETRY;}
/** \brief request an update for the textures
*/
void updateTextures() {rebuild_ |= REBUILD_TEXTURES;}
/** \brief request a full rebuild of the mesh
*
*/
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment