mirror of
https://github.com/rwengine/openrw.git
synced 2025-05-08 11:37:45 +03:00
24 lines
No EOL
342 B
C++
24 lines
No EOL
342 B
C++
#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 |