 |
Rune Engine
Version 0.2.7-alpha
Documentation for how to make games using the Rune Engine.
|
9 #ifndef RENDER_WINDOW_H
10 #define RENDER_WINDOW_H
15 #include "Math\vec2.h"
16 #include <Renderer\camera.h>
29 int m_width, m_height;
35 static void onWindowResize(GLFWwindow* window,
int width,
int height);
37 void updateWindowSize(
int width,
int height);
45 RenderWindow(
int newWidth,
int newHeight, std::string
const& title);
51 void setWindowTitle(std::string
const&);
61 void enableVsync(
bool enable);
65 GLFWwindow* GetGLWindow();
69 void maximizeWindow(
void);
Interface class for creating something that can be drawn to the screen.
Definition: drawable.h:20
This class is used to control the viewport of the scene.
Definition: camera.h:22
A window that the game can be drawn to.
Definition: renderWindow.h:26
1 x 2 vector to be used for math.
Definition: vec2.h:20
A color object to be applied to drawable objects.
Definition: color.h:19
The main namespace to be used for interfacing with the engine.
Definition: animator.h:21