]> git.lizzy.rs Git - irrlicht.git/blob - source/Irrlicht/COGLES2Renderer2D.h
Fix some more problems with OSX build file.
[irrlicht.git] / source / Irrlicht / COGLES2Renderer2D.h
1 // Copyright (C) 2014 Patryk Nadrowski\r
2 // This file is part of the "Irrlicht Engine".\r
3 // For conditions of distribution and use, see copyright notice in Irrlicht.h\r
4 \r
5 #ifndef __C_OGLES2_RENDERER_2D_H_INCLUDED__\r
6 #define __C_OGLES2_RENDERER_2D_H_INCLUDED__\r
7 \r
8 #include "IrrCompileConfig.h"\r
9 \r
10 #ifdef _IRR_COMPILE_WITH_OGLES2_\r
11 \r
12 #include "COGLES2MaterialRenderer.h"\r
13 \r
14 namespace irr\r
15 {\r
16 namespace video\r
17 {\r
18 \r
19 class COGLES2Renderer2D : public COGLES2MaterialRenderer\r
20 {\r
21 public:\r
22         COGLES2Renderer2D(const c8* vertexShaderProgram, const c8* pixelShaderProgram, COGLES2Driver* driver, bool withTexture);\r
23         ~COGLES2Renderer2D();\r
24 \r
25         virtual void OnSetMaterial(const SMaterial& material, const SMaterial& lastMaterial,\r
26                 bool resetAllRenderstates, IMaterialRendererServices* services);\r
27 \r
28         virtual bool OnRender(IMaterialRendererServices* service, E_VERTEX_TYPE vtxtype);\r
29 \r
30 protected:\r
31         bool WithTexture;\r
32         s32 ThicknessID;\r
33         s32 TextureUsageID;\r
34 };\r
35 \r
36 \r
37 }\r
38 }\r
39 \r
40 #endif\r
41 #endif\r
42 \r