Implements direct output to screen framebuffer. More...
#include <pipeline.h>
Public Member Functions | |
virtual void | activate (PipelineContext &context) override |
Activate the render target and configure OpenGL state for the output. | |
virtual void | reset (PipelineContext &context) override |
Resets the state of the object for the next pipeline iteration. | |
Public Member Functions inherited from RenderPipelineObject | |
virtual | ~RenderPipelineObject ()=default |
Private Attributes | |
core::dimension2du | size |
Additional Inherited Members | |
Protected Attributes inherited from RenderTarget | |
bool | m_clear {true} |
Implements direct output to screen framebuffer.
|
overridevirtual |
Activate the render target and configure OpenGL state for the output.
This is usually done by
Reimplemented from RenderTarget.
References RenderTarget::activate(), PipelineContext::clear_color, PipelineContext::device, RenderTarget::m_clear, and size.
|
overridevirtual |
Resets the state of the object for the next pipeline iteration.
Reimplemented from RenderTarget.
References PipelineContext::device, RenderTarget::reset(), and size.
|
private |
Referenced by activate(), and reset().