Initial OpenGL bindings

This commit is contained in:
Joshua Granick
2014-06-06 17:04:37 -07:00
parent 4818c02b1e
commit d82cd0a43d
30 changed files with 6303 additions and 17 deletions

View File

@@ -0,0 +1,25 @@
#ifndef LIME_APP_APPLICATION_H
#define LIME_APP_APPLICATION_H
namespace lime {
class Application {
public:
virtual int Exec () = 0;
};
Application* CreateApplication ();
}
#endif

View File

@@ -0,0 +1,28 @@
#ifndef LIME_APP_RENDERER_H
#define LIME_APP_RENDERER_H
#include <app/Window.h>
namespace lime {
class Renderer {
public:
Window* currentWindow;
};
Renderer* CreateRenderer (Window* window);
}
#endif

View File

@@ -0,0 +1,28 @@
#ifndef LIME_APP_WINDOW_H
#define LIME_APP_WINDOW_H
#include <app/Application.h>
namespace lime {
class Window {
public:
Application* currentApplication;
};
Window* CreateWindow (Application* application);
}
#endif