openrw/rwengine/include/render/DrawBuffer.hpp

24 lines
342 B
C++
Raw Normal View History

2014-02-10 05:43:20 +00:00
#pragma once
#ifndef _DRAWBUFFER_HPP_
#define _DRAWBUFFER_HPP_
#include <GL/glew.h>
class GeometryBuffer;
class DrawBuffer {
GLuint vao;
public:
DrawBuffer();
~DrawBuffer();
GLuint getVAOName() const
{ return vao; }
/**
* Adds a Geometry Buffer to the Draw Buffer.
*/
void addGeometry(GeometryBuffer* gbuff);
};
#endif