Enables or disables override material when activated. More...
#include <anaglyph.h>
Public Member Functions | |
ConfigureOverrideMaterialTarget (RenderTarget *upstream, bool enable) | |
virtual void | activate (PipelineContext &context) override |
Activate the render target and configure OpenGL state for the output. | |
Public Member Functions inherited from RenderTarget | |
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 | |
RenderTarget * | upstream |
bool | enable |
Additional Inherited Members | |
Protected Attributes inherited from RenderTarget | |
bool | m_clear {true} |
Enables or disables override material when activated.
ConfigureOverrideMaterialTarget::ConfigureOverrideMaterialTarget | ( | RenderTarget * | upstream, |
bool | enable ) |
|
overridevirtual |
Activate the render target and configure OpenGL state for the output.
This is usually done by
Reimplemented from RenderTarget.
References RenderTarget::activate(), PipelineContext::device, enable, and upstream.
|
private |
Referenced by activate().
|
private |
Referenced by activate().