|
CeresEngine 0.2.0
A game development framework
|
Template class to help implement sub-classes of RendererObject.
More...
#include <CeresEngine/Renderer/RendererObject.hpp>
Public Member Functions | |
| template<typename... Args> | |
| TRendererObject (ManagerType &manager, Args &&... args) | |
Creates a new TRendererObject instance. | |
| void | destroy () noexcept override |
Destroys the RendererObject. | |
| ManagerType & | getManager () const noexcept |
| The owning object manager. | |
Public Member Functions inherited from CeresEngine::RendererObject | |
| RendererObject ()=default | |
Creates a new RendererObject instance. | |
| virtual | ~RendererObject () noexcept=default |
Destroys an existing RendererObject instance. | |
| RendererObjectID | getID () const noexcept |
| An identifier that uniquely identifies this object in the renderer. | |
Protected Attributes | |
| ManagerType & | mManager |
| The owning object manager. | |
Protected Attributes inherited from CeresEngine::RendererObject | |
| RendererObjectID | mID |
| An identifier that uniquely identifies this object in the renderer. | |
Private Types | |
| using | ManagerType = RendererObjectManagerType< SelfType > |
Private Attributes | |
| friend | ManagerType |
Additional Inherited Members | |
Public Attributes inherited from CeresEngine::RendererObject | |
| Event< void(RendererObjectID newID)> | willChangeID |
| An event called whenever the object is about to change it's ID. | |
| Event< void(RendererObjectID oldID)> | didChangeID |
| An event called whenever the object changes it's ID. | |
Template class to help implement sub-classes of RendererObject.
| SelfType | The type of renderer object. |
| BaseType | The type to sub-class from. RendererObject by default. |
|
private |
|
inlineexplicit |
Creates a new TRendererObject instance.
| Args | The argument types to forward to the base class constructor. |
| manager | The manager instance that owns this object. |
| args | The arguments to forward to the base class constructor. |
|
inlineoverridevirtualnoexcept |
Destroys the RendererObject.
Will deallocate memory from the owning manager.
Implements CeresEngine::RendererObject.
|
inlinenoexcept |
The owning object manager.
|
private |
|
protected |
The owning object manager.