Voxellancer
0.3
A game about voxels in space
Main Page
Related Pages
Classes
Files
File List
All
Classes
Functions
Pages
screenquad.h
1
#pragma once
2
3
#include <glow/ref_ptr.h>
4
5
#include "etc/contextdependant.h"
6
7
8
namespace
glow {
9
class
VertexArrayObject;
10
class
Buffer;
11
}
12
13
class
Camera
;
14
15
class
ScreenQuad
:
public
ContextDependant
{
16
public
:
17
static
const
int
VERTEX_ATTRIBUTE_LOCATION = 0;
18
19
ScreenQuad
();
20
21
void
draw();
22
23
24
protected
:
25
glow::ref_ptr<glow::VertexArrayObject> m_vertexArrayObject;
26
glow::ref_ptr<glow::Buffer> m_vertexBuffer;
27
28
void
initialize();
29
void
beforeContextDestroy()
override
;
30
void
afterContextRebuild()
override
;
31
};
32
ContextDependant
Definition:
contextdependant.h:7
Camera
Definition:
camera.h:10
ScreenQuad
Definition:
screenquad.h:15
src
display
rendering
screenquad.h
Generated on Sun Mar 30 2014 13:32:30 for Voxellancer by
1.8.6