Skip to content

Instantly share code, notes, and snippets.

@terryjsmith
Last active August 29, 2015 14:06
Show Gist options
  • Save terryjsmith/28cd65e02bbcb04d0ff1 to your computer and use it in GitHub Desktop.
Save terryjsmith/28cd65e02bbcb04d0ff1 to your computer and use it in GitHub Desktop.
Evolution RenderSystem class
class RenderSystem : System {
public:
RenderSystem();
~RenderSystem();
// Initialize/shut down the render system
void Initialize();
void Shutdown();
// Our main update function
void Update(float elapsed);
// Create our main application window
void CreateWindow(unsigned int width, unsigned int height, char* name, bool fullscreen);
// Getter functions for our window
GLFWwindow* GetWindow() { return m_window; }
protected:
// Our main application window
GLFWwindow* m_window;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment