OpenPolygon  1.0.0
OpenPolygon is a Rendering Engine
materialaddon.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 MATERIALADDON_H
19 //#define MATERIALADDON_H
20 
21 //#include "index.h"
22 //#include "editorstore.h"
23 //#include "rendereditor.h"
24 //#include "editormanager.h"
25 //#include "scenemanager.h"
26 //#include "texturebufferobject.h"
27 
28 //#include "Material/drawelements.h"
29 //#include "Material/drawelementsindirect.h"
30 //#include "Material/cubemapping.h"
31 //#include "Material/matrixbuffer.h"
32 //#include "Material/uvmapping.h"
33 
34 //namespace Engine
35 //{
36 // class MaterialAddon : public IEditorAddon
37 // {
38 // public:
39 // MaterialAddon();
40 // ~MaterialAddon(){}
41 
42 // void initialize(void * pointer);
43 
44 // void onEnable(string &line);
45 
46 // void onAttach(Entity *entity);
47 
48 // void ScriptMaterialMode( const std::string & line );
49 // void ScriptTBOMode( const std::string & line );
50 // void ScriptDrawElementsMode( const std::string & line );
51 // void ScriptDrawIndirectMode( const std::string & line );
52 
53 // void ResetValues(void);
54 
55 // private:
56 
57 // Textures m_textures;
58 // Texture * m_surface;
59 
60 // Vector3fv m_tbo_data;
61 
62 // uint m_tbo_draws;
63 // uint m_texture_mode;
64 // uint m_texture_unit;
65 // uint m_texture_displace_unit;
66 // float m_texture_displace_size;
67 
68 // string m_cube_name;
69 // string m_culling;
70 
71 // TextureBufferObject * m_tbo;
72 
73 // bool m_uvmapping;
74 // bool m_update_tbo;
75 
76 // EditorStore * mStore;
77 // };
78 
79 //}
80 
81 //#endif // MATERIALADDON_H