Implementation of the resource mapping. More...
#include <ResourceMappingImpl.hpp>
Public Member Functions | |
ResourceMappingImpl (IReferenceCounters *pRefCounters, IMemoryAllocator &RawMemAllocator) | |
virtual void DILIGENT_CALL_TYPE | AddResource (const Char *Name, IDeviceObject *pObject, bool bIsUnique) override final |
Implementation of IResourceMapping::AddResource() | |
virtual void DILIGENT_CALL_TYPE | AddResourceArray (const Char *Name, Uint32 StartIndex, IDeviceObject *const *ppObjects, Uint32 NumElements, bool bIsUnique) override final |
Implementation of IResourceMapping::AddResourceArray() | |
virtual void DILIGENT_CALL_TYPE | RemoveResourceByName (const Char *Name, Uint32 ArrayIndex) override final |
Implementation of IResourceMapping::RemoveResourceByName() | |
virtual IDeviceObject *DILIGENT_CALL_TYPE | GetResource (const Char *Name, Uint32 ArrayIndex) override final |
Implementation of IResourceMapping::GetResource() | |
virtual size_t DILIGENT_CALL_TYPE | GetSize () override final |
Returns number of resources in the resource mapping. | |
Implementation of the resource mapping.
|
inline |
pRefCounters | - reference counters object that controls the lifetime of this resource mapping |
RawMemAllocator | - raw memory allocator that is used by the m_HashTable member |