Represents a render target (screen or framebuffer). More...
#include <pipeline.h>
Public Member Functions | |
| virtual void | activate (PipelineContext &context) |
| 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 |
Protected Attributes | |
| bool | m_clear {true} |
Represents a render target (screen or framebuffer).
|
inlinevirtual |
Activate the render target and configure OpenGL state for the output.
This is usually done by
Reimplemented in ClearDepthBufferTarget, ConfigureOverrideMaterialTarget, DynamicTarget, ScreenTarget, and TextureBufferOutput.
References m_clear.
Referenced by ScreenTarget::activate(), and TextureBufferOutput::activate().
|
inlineoverridevirtual |
Resets the state of the object for the next pipeline iteration.
Reimplemented from RenderPipelineObject.
Reimplemented in ClearDepthBufferTarget, and ScreenTarget.
References m_clear.
Referenced by ScreenTarget::reset().
|
protected |
Referenced by activate(), ScreenTarget::activate(), TextureBufferOutput::activate(), and reset().