|
Diligent Engine API Reference
|
Template class implementing base functionality for a device object. More...
Public Member Functions | |
| DeviceObjectBase (IReferenceCounters *pRefCounters, IRenderDevice *pDevice, const ObjectDescType &ObjDesc, bool bIsDeviceInternal=false) | |
| UniqueIdentifier | GetUniqueID () const |
| Returns unique identifier. More... | |
Protected Attributes | |
| const String | m_ObjectNameCopy |
| Copy of a device object name. More... | |
| ObjectDescType | m_Desc |
| Object description. | |
Template class implementing base functionality for a 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. |
|
inline |
Returns unique identifier.
|
protected |
Copy of a device object name.
When new object is created, its description structure is copied to m_Desc, the name is copied to m_ObjectNameCopy, and m_Desc.Name pointer is set to m_ObjectNameCopy.c_str().