OpenPolygon
1.0.0
OpenPolygon is a Rendering Engine
Main Page
Namespaces
Classes
Files
File List
include
Manager
materialmanager.h
1
/*
2
Copyright (C) 2014 - 2016 Mutzii
3
4
This program is free software: you can redistribute it and/or modify
5
it under the terms of the GNU General Public License as published by
6
the Free Software Foundation, either version 3 of the License, or
7
(at your option) any later version.
8
9
This program is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
GNU General Public License for more details.
13
14
You should have received a copy of the GNU General Public License
15
along with this program. If not, see <http://www.gnu.org/licenses/>.
16
17
*/
18
#ifndef MATERIALMANAGER_H
19
#define MATERIALMANAGER_H
20
21
//#include "index.h"
22
//#include "material.h"
23
24
//namespace Engine
25
//{
26
27
// using MaterialMap = std::map< uint , Material * >;
28
// using DMaterialMap = std::map< uint , DrawMaterial * >;
29
// using SMaterialMap = std::map< uint , ShadowMaterial * >;
30
31
// class MaterialManager
32
// {
33
// private:
34
35
// static MaterialManager * ptrInstance;
36
37
// MaterialManager();
38
// MaterialManager(const MaterialManager &){}
39
// void operator=(const MaterialManager &){}
40
41
// public:
42
43
// static MaterialManager * getSingletonPtr(void);
44
45
// ShadowMaterial * addShadowMaterial( ShadowMaterial * material );
46
47
// DrawMaterial * addDrawMaterial( DrawMaterial * material );
48
49
// Material * addMaterial( Material * material );
50
51
// void BindMaterial( uint component_id , Material * material );
52
53
// void BindDMaterial( uint component_id , DrawMaterial * material );
54
55
// void BindSMaterial( uint component_id , ShadowMaterial * material );
56
57
// Material * getMaterial( uint component_id );
58
59
// DrawMaterial * getDrawMaterial( uint component_id );
60
61
// ShadowMaterial * getShadowMaterial( uint component_id );
62
63
// private:
64
65
// MaterialMap mMaterialMap;
66
67
// DMaterialMap mDrawMaterialMap;
68
69
// SMaterialMap mShadowMaterialMap;
70
71
// };
72
73
74
//}
75
76
#endif // MATERIALMANAGER_H
Generated by
1.8.10