scm_frame(GLsizei, GLsizei)
Create a new OpenGL framebuffer object with color and depth textures.
Definition: scm-frame.cpp:23
~scm_frame()
Delete the framebuffer object and its textures.
Definition: scm-frame.cpp:36
An scm_frame abstracts the OpenGL framebuffer object.
Definition: scm-frame.hpp:22
void bind_color() const
Bind the color texture.
Definition: scm-frame.cpp:52
void bind_depth() const
Bind the depth texture.
Definition: scm-frame.cpp:59
void bind_frame() const
Bind the framebuffer object as render target.
Definition: scm-frame.cpp:45