![]() |
ezEngine Release 25.08
|
Base class for GAL resources, stores a creation description of the object and also allows for reference counting. More...
#include <Resource.h>

Public Member Functions | |
| EZ_ALWAYS_INLINE | ezGALResource (const CreationDescription &description) |
| EZ_ALWAYS_INLINE const CreationDescription & | GetDescription () const |
Public Member Functions inherited from ezGALResourceBase | |
| void | SetDebugName (const char *szName) const |
| virtual const ezGALResourceBase * | GetParentResource () const |
Public Member Functions inherited from ezRefCounted | |
| virtual | ~ezRefCounted ()=default |
| Adds a virtual destructor. | |
Public Member Functions inherited from ezRefCountingImpl | |
| ezRefCountingImpl ()=default | |
| Constructor. | |
| ezRefCountingImpl (const ezRefCountingImpl &rhs) | |
| void | operator= (const ezRefCountingImpl &rhs) |
| ezInt32 | AddRef () const |
| Increments the reference counter. Returns the new reference count. | |
| ezInt32 | 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. | |
| ezInt32 | GetRefCount () const |
| Returns the current reference count. | |
Protected Attributes | |
| const CreationDescription | m_Description |
Additional Inherited Members | |
Protected Member Functions inherited from ezGALResourceBase | |
| virtual void | SetDebugNamePlatform (const char *szName) const =0 |
Base class for GAL resources, stores a creation description of the object and also allows for reference counting.