Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/textures.h')
-rw-r--r--src/render/textures.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/render/textures.h b/src/render/textures.h
index ad38451..f8e35b3 100644
--- a/src/render/textures.h
+++ b/src/render/textures.h
@@ -39,6 +39,9 @@ public:
/// bind a texture for OpenGL usage
static size_t bind(size_t texture);
+ /// find the texture index for a given name
+ static size_t find(std::string name);
+
private:
static void clear();