Resets depth buffer of the current render target. More...
#include <anaglyph.h>
Public Member Functions | |
ClearDepthBufferTarget (RenderTarget *target) | |
ClearDepthBufferTarget. | |
void | reset (PipelineContext &context) override |
Resets the state of the object for the next pipeline iteration. | |
void | activate (PipelineContext &context) override |
Activate the render target and configure OpenGL state for the output. | |
Public Member Functions inherited from RenderPipelineObject | |
virtual | ~RenderPipelineObject ()=default |
Private Attributes | |
RenderTarget * | target |
Additional Inherited Members | |
Protected Attributes inherited from RenderTarget | |
bool | m_clear {true} |
Resets depth buffer of the current render target.
ClearDepthBufferTarget::ClearDepthBufferTarget | ( | RenderTarget * | target | ) |
|
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, and target.
|
inlineoverridevirtual |
Resets the state of the object for the next pipeline iteration.
Reimplemented from RenderTarget.
|
private |
Referenced by activate().