StapleGL
Header-only C++20 OpenGL wrapper
|
Wrapper for OpenGL Framebuffer Objects. More...
#include "gl_functions.hpp"
#include "renderbuffer.hpp"
#include "texture.hpp"
#include "utility.hpp"
#include <array>
#include <cstdint>
#include <exception>
#include <functional>
#include <optional>
#include <span>
Go to the source code of this file.
Classes | |
class | staplegl::framebuffer |
Framebuffer Object (FBO) wrapper. More... | |
Namespaces | |
namespace | staplegl |
Enumerations | |
enum class | staplegl::fbo_attachment : std::uint8_t { staplegl::NONE = 0x00 , staplegl::ATTACH_DEPTH_BUFFER = 0x01 , staplegl::ATTACH_STENCIL_BUFFER = 0x02 , staplegl::ATTACH_DEPTH_STENCIL_BUFFER = 0x03 } |
enum class for framebuffer attachments. More... | |
Wrapper for OpenGL Framebuffer Objects.
Wraps FBOs allowing for easy creation and usage. functionalities include the internal management of renderbuffers, some utility functions to transfer contents from one framebuffer to another, and some functions to bind/unbind the FBO to the OpenGL context.
Definition in file framebuffer.hpp.