Capycore Engine  0.1.0
A simple and lightweight game engine written in C++ based on the Unity API architecture.
Loading...
Searching...
No Matches
IRenderingStrategy Class Referenceabstract

Interface for rendering strategies used by renderable components. More...

#include <irendering_strategy.h>

Inheritance diagram for IRenderingStrategy:
[legend]

Public Member Functions

virtual ~IRenderingStrategy ()=default
 
virtual void draw (Component &component, Camera &camera)=0
 

Detailed Description

Interface for rendering strategies used by renderable components.

IRenderingStrategy defines a contract for rendering strategies that can be implemented to provide different rendering techniques. Each strategy must implement the draw method which takes a Component reference and performs the rendering logic.

Constructor & Destructor Documentation

◆ ~IRenderingStrategy()

virtual IRenderingStrategy::~IRenderingStrategy ( )
virtualdefault

Member Function Documentation

◆ draw()

virtual void IRenderingStrategy::draw ( Component component,
Camera camera 
)
pure virtual

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