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
7 #include "MaterialRenderer.h"
\r
14 class COpenGL3Renderer2D : public COpenGL3MaterialRenderer
\r
17 COpenGL3Renderer2D(const c8* vertexShaderProgram, const c8* pixelShaderProgram, COpenGL3Driver* driver, bool withTexture);
\r
18 ~COpenGL3Renderer2D();
\r
20 virtual void OnSetMaterial(const SMaterial& material, const SMaterial& lastMaterial,
\r
21 bool resetAllRenderstates, IMaterialRendererServices* services);
\r
23 virtual bool OnRender(IMaterialRendererServices* service, E_VERTEX_TYPE vtxtype);
\r