|
NWengine 0.9
|
The FrameBuffer class represents a framebuffer object. More...
#include <FrameBuffer.h>
Public Member Functions | |
| FrameBuffer ()=default | |
| Default constructor for the FrameBuffer class. | |
| void | SetUp (Vector2< int > size) |
| Sets up the framebuffer with the specified size. | |
| void | Bind () |
| Binds the framebuffer. | |
| void | Unbind () |
| Unbinds the framebuffer. | |
| void | Delete () |
| Deletes the framebuffer. | |
Public Attributes | |
| Texture | textureBuffer |
The FrameBuffer class represents a framebuffer object.
This class provides functionality to create, bind, unbind, and delete a framebuffer object. It also allows setting up the framebuffer with a specified size.
Sets up the framebuffer with the specified size.
| size | The size of the framebuffer. |
| Texture FrameBuffer::textureBuffer |
The texture buffer associated with the framebuffer.