#ifndef DEBUGRECTH #define DEBUGRECTH #define SFML_STATIC #define GLEW_STATIC #include #include #include #include #include #include #include #include #include "Texture.h" #include "ShaderManager.h" namespace agl { class DebugRect { static GLuint vbuf, tbuf, vao, sample; static GLint uDepthMap; static float *vdata; static float *tdata; static agl::ShaderProgram sp; static agl::Texture tx; public: static void initShader(); static void render(); static void destroy(); }; } #endif