![]() |
LibCarna Version 3.4.0
|
Invokes the rendering stages of the frame renderer successively. More...
#include <RenderTask.hpp>
Collaboration diagram for LibCarna::base::RenderTask: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 43 of file RenderTask.hpp.
| LibCarna::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.
| const math::Matrix4f& LibCarna::base::RenderTask::projection |
References the projection matrix to be used.
Definition at line 81 of file RenderTask.hpp.
| const FrameRenderer& LibCarna::base::RenderTask::renderer |
References the frame renderer.
Definition at line 76 of file RenderTask.hpp.
Written by Leonid Kostrykin © 2021–2025. Based on Carna (© 2010-2016).
Documentation generated by Doxygen