Template class implementing base functionality of the device object. More...
#include <DeviceObjectBase.hpp>
Public Member Functions | |
| DeviceObjectBase (IReferenceCounters *pRefCounters, RenderDeviceImplType *pDevice, const ObjectDescType &ObjDesc, bool bIsDeviceInternal=false) | |
| virtual Int32 DILIGENT_CALL_TYPE | GetUniqueID () const override final |
| Returns unique identifier. | |
| virtual void DILIGENT_CALL_TYPE | SetUserData (IObject *pUserData) override final |
| Implementation of IDeviceObject::SetUserData. | |
| virtual IObject *DILIGENT_CALL_TYPE | GetUserData () const override final |
| Implementation of IDeviceObject::GetUserData. | |
Protected Attributes | |
| RenderDeviceImplType *const | m_pDevice |
| Pointer to the device. | |
| ObjectDescType | m_Desc |
| Object description. | |
Template class implementing base functionality of the device object.
|
inline |
| pRefCounters | - Reference counters object that controls the lifetime of this device object |
| pDevice | - Pointer to the render device. |
| ObjDesc | - Object description. |
| bIsDeviceInternal | - Flag indicating if the object is an internal device object and must not keep a strong reference to the device. |
|
inlinefinaloverridevirtual |
Returns unique identifier.