public:
InitGL();
- ~InitGL();
InitGL(const InitGL &) = delete;
InitGL &operator =(const InitGL &) = delete;
GLContext &operator =(const GLContext &) = delete;
static void EnableVSync();
+ static void EnableDepthTest();
+ static void EnableBackfaceCulling();
+
+ static void Clear();
+ static void ClearDepthBuffer();
private:
SDL_GLContext handle;
public:
InitGLEW();
- ~InitGLEW();
InitGLEW(const InitGLEW &) = delete;
InitGLEW &operator =(const InitGLEW &) = delete;