t
Loading...
Searching...
No Matches
t::Rasterizer Class Reference

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.
 

Detailed Description

The most basic renderer that renders your beautiful 3D scene.

The renderer uses rasterization and forward rendering, and renders one object at a time.

Member Function Documentation

◆ render()

template<class BufferType >
void t::Rasterizer::render ( Scene & scene,
Camera & camera,
RenderTarget< BufferType > & renderTarget )
inline

Renders the given scene using the given camera to the given render target.

Parameters
sceneThe scene to render.
cameraThe camera to render the scene with a.k.a. the active camera.
renderTargetThe render target i.e. texture to render the scene to.

The documentation for this class was generated from the following file: