OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
TextureMapManager.h
Go to the documentation of this file.
1#pragma once
2
3#include <osg/Texture2D>
4
5#include <string>
6#include <map>
7
9{
10public:
13
14 static osg::ref_ptr<osg::Texture2D> getTexture(std::string textureName);
15
16
17private:
18 static std::map<std::string, osg::ref_ptr<osg::Texture2D>> textureImages;
19};
Definition TextureMapManager.h:9
TextureMapManager()
Definition TextureMapManager.cpp:12
~TextureMapManager()
Definition TextureMapManager.cpp:18
static osg::ref_ptr< osg::Texture2D > getTexture(std::string textureName)
Definition TextureMapManager.cpp:23