Copperfield Engine 0.1
C++ Game Engine
Loading...
Searching...
No Matches
Renderer Class Reference

Class used to render the scene. More...

#include <renderer.hpp>

Classes

struct  Settings
 Struct with basic information that affects all rendered entities. More...
 

Public Member Functions

 Renderer (Engine &engine, Window &window, float ambient_strength=0.2f)
 Constructor of the renderer. More...
 
void render ()
 Used to render the entire scene with all the entities.
 

Detailed Description

Class used to render the scene.

Constructor & Destructor Documentation

◆ Renderer()

Renderer::Renderer ( Engine engine,
Window window,
float  ambient_strength = 0.2f 
)

Constructor of the renderer.

Parameters
engineReference to the engine.
windowWindow handle reference.
ambient_strengthBase light intensity that affects all objects from all directions.