PROTO::KLUDGE
0.1
Quick prototyping library for games using SDL and OpenGL.
GLDrawable.hpp
Go to the documentation of this file.
1
#ifndef GLDRAWABLE_HPP
2
#define GLDRAWABLE_HPP
3
4
#include "GL/glew.h"
5
#include "
core/GLStates.hpp
"
6
7
namespace
pk
8
{
9
16
class
GLDrawable
17
{
18
public
:
24
GLDrawable
();
25
26
virtual
~GLDrawable
();
27
33
virtual
void
draw
(
GLStates
&states) = 0;
34
};
35
36
}
37
38
#endif // GLDRAWABLE_HPP
pk
Definition:
Game.hpp:7
pk::GLDrawable
Definition:
GLDrawable.hpp:16
pk::GLDrawable::GLDrawable
GLDrawable()
pk::GLDrawable::draw
virtual void draw(GLStates &states)=0
Draw the OpenGL drawable object.
pk::GLDrawable::~GLDrawable
virtual ~GLDrawable()
pk::GLStates
Stores the states used to draw OpenGL objects.
Definition:
GLStates.hpp:16
GLStates.hpp
include
graphics
GLDrawable.hpp
Generated on Sun Dec 1 2019 17:04:22 for PROTO::KLUDGE by
1.8.14