Plasma Engine  2.0
Loading...
Searching...
No Matches
plGALObject< CreationDescription > Class Template Reference

Base class for GAL objects, stores a creation description of the object and also allows for reference counting. More...

#include <RendererFoundationDLL.h>

Inheritance diagram for plGALObject< CreationDescription >:

Public Member Functions

 plGALObject (const CreationDescription &description)
 
PL_ALWAYS_INLINE const CreationDescription & GetDescription () const
 
- Public Member Functions inherited from plRefCounted
virtual ~plRefCounted ()=default
 Adds a virtual destructor.
 
- Public Member Functions inherited from plRefCountingImpl
 plRefCountingImpl ()=default
 Constructor.
 
 plRefCountingImpl (const plRefCountingImpl &rhs)
 
void operator= (const plRefCountingImpl &rhs)
 
plInt32 AddRef () const
 Increments the reference counter. Returns the new reference count.
 
plInt32 ReleaseRef () const
 Decrements the reference counter. Returns the new reference count.
 
bool IsReferenced () const
 Returns true if the reference count is greater than 0, false otherwise.
 
plInt32 GetRefCount () const
 Returns the current reference count.
 

Protected Attributes

const CreationDescription m_Description
 

Detailed Description

template<typename CreationDescription>
class plGALObject< CreationDescription >

Base class for GAL objects, stores a creation description of the object and also allows for reference counting.


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