mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
20 lines
345 B
C++
20 lines
345 B
C++
#pragma once
|
|
|
|
#include "object.h"
|
|
#include "bindable.h"
|
|
|
|
namespace gl
|
|
{
|
|
class renderbuffer : public object, public bindable<renderbuffer>
|
|
{
|
|
public:
|
|
renderbuffer();
|
|
~renderbuffer();
|
|
|
|
void alloc(GLuint format, int width, int height);
|
|
|
|
static void bind(GLuint id);
|
|
using bindable::bind;
|
|
};
|
|
}
|