UpscaleStep step performs rescaling of the image in the source texture 0 to the size of the target. More...
#include <plain.h>
Inheritance diagram for UpscaleStep:
Collaboration diagram for UpscaleStep:Public Member Functions | |
| virtual void | setRenderSource (RenderSource *source) override |
| Assigns render source to this step. | |
| virtual void | setRenderTarget (RenderTarget *target) override |
| Assigned render target to this step. | |
| virtual void | reset (PipelineContext &context) override |
| virtual void | run (PipelineContext &context) override |
| Runs the step. | |
Public Member Functions inherited from RenderPipelineObject | |
| virtual | ~RenderPipelineObject ()=default |
Private Attributes | |
| RenderSource * | m_source |
| RenderTarget * | m_target |
UpscaleStep step performs rescaling of the image in the source texture 0 to the size of the target.
|
inlineoverridevirtual |
Reimplemented from RenderPipelineObject.
|
overridevirtual |
Runs the step.
This method is invoked by the pipeline.
Implements RenderStep.
References RenderTarget::activate(), PipelineContext::device, RenderSource::getTexture(), m_source, m_target, and PipelineContext::target_size.
Here is the call graph for this function:
|
inlineoverridevirtual |
Assigns render source to this step.
| source | source of rendering information |
Implements RenderStep.
References m_source.
|
inlineoverridevirtual |
Assigned render target to this step.
| target | render target to send output to. |
Implements RenderStep.
References m_target.
|
private |
Referenced by run(), and setRenderSource().
|
private |
Referenced by run(), and setRenderTarget().