VenomEngine
Cross-Platform Modern Graphics Engine
Loading...
Searching...
No Matches
venom::common::PluginObject Class Reference

Base class for all the plugin objects Objects that will be loaded from the plugins as their implementations lie there As a user of VenomEngine, you should not care about that, unless you plan to create your own plugin. More...

#include <PluginObject.h>

+ Inheritance diagram for venom::common::PluginObject:

Public Member Functions

 PluginObject (const PluginType type)
 
virtual void Destroy () override
 /!\ THIS FUNCTION MUST BE CALLED FOR DESTRUCTION, DO NOT USE delete
 
PluginType GetType () const override
 
template<class T>
T * As ()
 
template<class T>
const T * As () const
 
template<class T>
T * ConstAs () const
 
template<class T>
T * RAs ()
 
template<class T>
const T * RAs () const
 
template<class T>
T * DAs ()
 
template<class T>
const T * DAs () const
 
void IncRefCount ()
 
void DecRefCount ()
 

Detailed Description

Base class for all the plugin objects Objects that will be loaded from the plugins as their implementations lie there As a user of VenomEngine, you should not care about that, unless you plan to create your own plugin.

Member Function Documentation

◆ Destroy()

void venom::common::PluginObject::Destroy ( )
overridevirtual

/!\ THIS FUNCTION MUST BE CALLED FOR DESTRUCTION, DO NOT USE delete

Implements venom::common::IPluginObject.

Reimplemented in venom::common::GraphicsPluginObject, venom::common::RenderPassImpl, and venom::common::RenderTargetImpl.

◆ GetType()

PluginType venom::common::PluginObject::GetType ( ) const
overridevirtual

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