55 virtual void Update(
float ratio) = 0;
Declares the CameraManager class for managing multiple camera instances.
Declares the Controller base class for managing lighting controllers.
Utility class for debugging and monitoring system memory.
Declares the RenderingEngine class for rendering and display operations.
Implements a running average filter for smoothing data.
Defines the Scene class for managing objects and effects in a 3D environment.
User-configurable settings for the project.
Manages multiple CameraBase objects.
Base class for managing brightness and display operations of lighting controllers.
void RenderEndTimer()
Stops the render timer and records the elapsed time.
float GetAnimationTime()
Retrieves the time spent on animations.
void Animate(float ratio)
Animates the project state based on the given ratio.
Project(CameraManager *cameras, Controller *controller, uint8_t numObjects)
Constructs a Project with specified camera manager and controller.
Scene scene
The Scene object representing the rendered environment.
float GetRenderTime()
Retrieves the time spent on rendering.
void Render()
Renders the scene.
long previousDisplayTime
Time of the previous display frame in microseconds.
long previousRenderTime
Time of the previous render frame in microseconds.
float fade
Fade parameter for animations.
void Display()
Updates the display with the rendered content.
void PrintStats()
Prints performance statistics such as frame rate and operation times.
void RenderStartTimer()
Starts the render timer for measuring render performance.
long previousAnimationTime
Time of the previous animation frame in microseconds.
virtual void Initialize()=0
Initializes the project.
float GetFrameRate()
Retrieves the current frame rate.
CameraManager * cameras
Pointer to the CameraManager for managing cameras.
Controller * controller
Pointer to the Controller for controlling the display.
virtual void Update(float ratio)=0
Updates the project state based on the given ratio.
float animationTime
Time spent on animation in milliseconds.
float renderTime
Time spent on rendering in milliseconds.
float GetDisplayTime()
Retrieves the time spent on display operations.
float displayTime
Time spent on display in milliseconds.
RunningAverageFilter< 50 > avgFPS
Running average filter for frame rate calculation.
Smooths data values using a weighted running average.
Manages a collection of 3D objects and applies optional screen-space effects.