1 // Copyright (C) 2014 Patryk Nadrowski
2 // This file is part of the "Irrlicht Engine".
3 // For conditions of distribution and use, see copyright notice in Irrlicht.h
7 #include "MaterialRenderer.h"
14 class COpenGL3Renderer2D : public COpenGL3MaterialRenderer
17 COpenGL3Renderer2D(const c8* vertexShaderProgram, const c8* pixelShaderProgram, COpenGL3DriverBase* driver, bool withTexture);
18 ~COpenGL3Renderer2D();
20 virtual void OnSetMaterial(const SMaterial& material, const SMaterial& lastMaterial,
21 bool resetAllRenderstates, IMaterialRendererServices* services);
23 virtual bool OnRender(IMaterialRendererServices* service, E_VERTEX_TYPE vtxtype);