t
|
The most basic renderer that renders your beautiful 3D scene. More...
#include <Rasterizer.hpp>
Public Member Functions | |
template<class BufferType > | |
void | render (Scene &scene, Camera &camera, RenderTarget< BufferType > &renderTarget) |
Renders the given scene using the given camera to the given render target. | |
The most basic renderer that renders your beautiful 3D scene.
The renderer uses rasterization and forward rendering, and renders one object at a time.
|
inline |
Renders the given scene using the given camera to the given render target.
scene | The scene to render. |
camera | The camera to render the scene with a.k.a. the active camera. |
renderTarget | The render target i.e. texture to render the scene to. |