Last active
August 29, 2015 14:06
-
-
Save terryjsmith/28cd65e02bbcb04d0ff1 to your computer and use it in GitHub Desktop.
Evolution RenderSystem class
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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