1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-08 03:42:35 +01:00
openrw/framework2/include/renderwure/render/GTARenderer.hpp

29 lines
458 B
C++

#ifndef _GTARENDERER_HPP_
#define _GTARENDERER_HPP_
#define GLEW_STATIC
#include <GL/glew.h>
#include <renderwure/render/ViewCamera.hpp>
class GTAEngine;
class GTARenderer
{
public:
GTARenderer();
ViewCamera camera;
/// The numer of things rendered by the last renderWorld
size_t rendered;
size_t culled;
GLuint uniModel, uniProj, uniView;
GLuint posAttrib, texAttrib;
GLuint worldProgram;
void renderWorld(GTAEngine* engine);
};
#endif