29 #include "InterfaceID.h" 30 #include "ReferenceCounters.h" 39 using CounterValueType = IReferenceCounters::CounterValueType;
58 virtual CounterValueType
AddRef() = 0;
71 virtual CounterValueType
Release() = 0;
virtual CounterValueType AddRef()=0
Increments the number of strong references by 1.
Graphics engine namespace.
Definition: AdaptiveFixedBlockAllocator.h:30
virtual IReferenceCounters * GetReferenceCounters() const =0
Returns the pointer to IReferenceCounters interface of the associated reference counters object...
Base interface for a reference counter object that stores the number of strong and weak references an...
Definition: ReferenceCounters.h:37
Base interface for all dynamic objects in the engine.
Definition: Object.h:36
Describes unique identifier.
Definition: InterfaceID.h:33
virtual CounterValueType Release()=0
Decrements the number of strong references by 1 and destroys the object when the counter reaches zero...
virtual void QueryInterface(const Diligent::INTERFACE_ID &IID, IObject **ppInterface)=0
Queries the specific interface.