Carna
Version 3.3.2
|
Invokes the rendering stages of the frame renderer successively. More...
#include <RenderTask.h>
Public Member Functions | |
RenderTask (const FrameRenderer &renderer, const math::Matrix4f &projection, const math::Matrix4f &viewTransform) | |
Instantiates. For internal usage only. | |
RenderTask (const FrameRenderer &renderer, const math::Matrix4f &projection, const math::Matrix4f &viewTransform, Framebuffer &output) | |
RenderTask (const RenderTask &parent, Framebuffer &output) | |
Forks parent. The result of the fork will be rendered to output. | |
RenderTask (const RenderTask &parent) | |
Forks parent. | |
const math::Matrix4f & | viewTransform () const |
References the view matrix to be used. | |
void | overrideViewTransform (const math::Matrix4f &) |
Overrides the view matrix to be used for further rendering. | |
void | render (const Viewport &vp, unsigned int clearBuffersMask=0) |
Invokes renderStage an all associated render stages remained. Disabled stages are skipped. | |
void | finish () |
Finishes this task prematurely. | |
Public Attributes | |
const FrameRenderer & | renderer |
References the frame renderer. | |
const math::Matrix4f & | projection |
References the projection matrix to be used. | |
Protected Member Functions | |
virtual void | renderStage (RenderStage &rs, const Viewport &viewport) |
Renders rs with viewport through RenderStage::renderPass. | |
Invokes the rendering stages of the frame renderer successively.
Definition at line 40 of file RenderTask.h.
Carna::base::RenderTask::RenderTask | ( | const FrameRenderer & | renderer, |
const math::Matrix4f & | projection, | ||
const math::Matrix4f & | viewTransform, | ||
Framebuffer & | output | ||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Documentation generated by Doxygen