Vis 2
Kinetic Visualization for 3D shape and structure
 All Classes Namespaces Functions Pages
TextureManager.h
1 #pragma once
2 
3 #include "Texture.h"
4 #include <unordered_map>
5 
10 {
11 public:
12  static void Initialize();
13  static Texture* GetTexture(std::string name,bool mipmaps=false,bool singleChannel=false,float anisotropy=1.0f);
14  static void ClearTextures();
15 
16 private:
17  static std::unordered_map<std::string, Texture*> TextureMap;
19  ~TextureManager();
20 };
21 
Definition: TextureManager.h:9
Definition: Texture.h:12