]> git.lizzy.rs Git - irrlicht.git/blob - source/Irrlicht/COGLES2Renderer2D.h
Revert "Fix: Listbox was sometimes sending EGET_LISTBOX_SELECTED_AGAIN instead of...
[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 \r
9 #ifdef _IRR_COMPILE_WITH_OGLES2_\r
10 \r
11 #include "COGLES2MaterialRenderer.h"\r
12 \r
13 namespace irr\r
14 {\r
15 namespace video\r
16 {\r
17 \r
18 class COGLES2Renderer2D : public COGLES2MaterialRenderer\r
19 {\r
20 public:\r
21         COGLES2Renderer2D(const c8* vertexShaderProgram, const c8* pixelShaderProgram, COGLES2Driver* driver, bool withTexture);\r
22         ~COGLES2Renderer2D();\r
23 \r
24         virtual void OnSetMaterial(const SMaterial& material, const SMaterial& lastMaterial,\r
25                 bool resetAllRenderstates, IMaterialRendererServices* services);\r
26 \r
27         virtual bool OnRender(IMaterialRendererServices* service, E_VERTEX_TYPE vtxtype);\r
28 \r
29 protected:\r
30         bool WithTexture;\r
31         s32 ThicknessID;\r
32         s32 TextureUsageID;\r
33 };\r
34 \r
35 \r
36 }\r
37 }\r
38 \r
39 #endif\r
40 #endif\r
41 \r