Couch
|
#include <vector>
#include "types.h"
Go to the source code of this file.
Classes | |
class | Framebuffer |
class | FramebufferStack |
Couch Copyright (C) 2021 Dane Johnson
This program comes with ABSOLUTELY NO WARRANTY; without event the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for details at https://www.gnu.org/licenses/gpl-3.0.html
This is free software, and you are welcome to redistribute it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
Framebuffers are essentially just things that can be drawn to. They have a number of settings that are set via stateful calls to OpenGL, so they are wrapped here so they can be saved and restored in a stateless fashion.