Fireworks Engine  v2.0
Lightweight Sandbox Game Engine using OpenGL for additional Customisation and Quick Prototyping
renderbuffer.h
Go to the documentation of this file.
1 #pragma once
2 
3 // GLEW
4 #include <GL/glew.h>
5 
6 #include <src/utils/glassert.h>
7 
8 namespace fireworks { namespace graphics {
9 
12  {
13  public:
14  GLuint m_BufferID;
15  public:
17  RenderBuffer(int Width, int Height);
18  ~RenderBuffer();
19 
21  void bind() const;
23  void unbind() const;
24  };
25 
26 } }
void unbind() const
Unbinds the render buffer.
Definition: renderbuffer.cpp:21
RenderBuffer(int Width, int Height)
Generates the render buffer to store render buffers data.
Definition: renderbuffer.cpp:3
void bind() const
Binds the render buffer.
Definition: renderbuffer.cpp:16
GLuint m_BufferID
Definition: renderbuffer.h:14
Class to generate Render Buffers.
Definition: renderbuffer.h:11
Definition: audioclip.cpp:3
~RenderBuffer()
Definition: renderbuffer.cpp:11