ResourceMappingImpl class
Implementation of the resource mapping.
Contents
Base classes
-
template<typename BaseInterface>class ObjectBase<IResourceMapping>
- Template class implementing base functionality for an object.
Constructors, destructors, conversion operators
- ResourceMappingImpl(IReferenceCounters* pRefCounters, IMemoryAllocator& RawMemAllocator)
Public functions
- void AddResource(const Char* Name, IDeviceObject* pObject, bool bIsUnique) final
- Implementation of IResourceMapping::
AddResource() - void AddResourceArray(const Char* Name, Uint32 StartIndex, IDeviceObject*const* ppObjects, Uint32 NumElements, bool bIsUnique) final
- Implementation of IResourceMapping::
AddResourceArray() - void RemoveResourceByName(const Char* Name, Uint32 ArrayIndex) final
- Implementation of IResourceMapping::
RemoveResourceByName() - void GetResource(const Char* Name, IDeviceObject** ppResource, Uint32 ArrayIndex) final
- Implementation of IResourceMapping::
GetResource() - auto GetSize() -> size_t final
- Returns number of resources in the resource mapping.
Function documentation
Diligent:: ResourceMappingImpl:: ResourceMappingImpl(IReferenceCounters* pRefCounters,
IMemoryAllocator& RawMemAllocator)
| Parameters | |
|---|---|
| pRefCounters | - reference counters object that controls the lifetime of this resource mapping |
| RawMemAllocator | - raw memory allocator that is used by the m_HashTable member |