Interface defining the rendering operations. More...
#include <irenderer.h>
Public Member Functions | |
virtual void | render (IAssetManager &assets)=0 |
Renders the object using the provided asset manager. | |
virtual void | setRenderers (IWindowManager *windowManager)=0 |
Sets the window manager for the renderer system. | |
Interface defining the rendering operations.
This interface declares the necessary functions for rendering assets and configuring rendering dependencies.
Methods:
|
pure virtual |
Renders the object using the provided asset manager.
This pure virtual function must be implemented by derived classes to perform the actual rendering. It utilizes the asset manager to access necessary resources such as textures, models, and shaders required for drawing the object.
assets | A reference to an IAssetManager instance for managing assets. |
Implemented in Renderer.
|
pure virtual |
Sets the window manager for the renderer system.
This method provides a way to configure the renderer by assigning an instance of IWindowManager, which is used to handle window-specific operations and manage rendering surfaces.
windowManager | A pointer to an IWindowManager instance that controls window management and rendering. |
Implemented in Renderer.