Diligent Engine
 
Loading...
Searching...
No Matches
Diligent::PipelineStateCacheBase< EngineImplTraits > Class Template Reference

Template class implementing base functionality of the pipeline state cache object. More...

#include <PipelineStateCacheBase.hpp>

Inheritance diagram for Diligent::PipelineStateCacheBase< EngineImplTraits >:
Diligent::DeviceObjectBase< EngineImplTraits::PipelineStateCacheInterface, EngineImplTraits::RenderDeviceImplType, PipelineStateCacheDesc > Diligent::ObjectBase< EngineImplTraits::PipelineStateCacheInterface > Diligent::RefCountedObject< EngineImplTraits::PipelineStateCacheInterface >

Public Member Functions

 PipelineStateCacheBase (IReferenceCounters *pRefCounters, RenderDeviceImplType *pDevice, const PipelineStateCacheCreateInfo &CreateInfo, bool bIsDeviceInternal=false)
 
- Public Member Functions inherited from Diligent::DeviceObjectBase< EngineImplTraits::PipelineStateCacheInterface, EngineImplTraits::RenderDeviceImplType, PipelineStateCacheDesc >
 DeviceObjectBase (IReferenceCounters *pRefCounters, RenderDeviceImplType *pDevice, const PipelineStateCacheDesc &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.
 

Additional Inherited Members

- Protected Attributes inherited from Diligent::DeviceObjectBase< EngineImplTraits::PipelineStateCacheInterface, EngineImplTraits::RenderDeviceImplType, PipelineStateCacheDesc >
RenderDeviceImplType *const m_pDevice
 Pointer to the device.
 
PipelineStateCacheDesc m_Desc
 Object description.
 

Detailed Description

template<typename EngineImplTraits>
class Diligent::PipelineStateCacheBase< EngineImplTraits >

Template class implementing base functionality of the pipeline state cache object.

Template Parameters
EngineImplTraits- Engine implementation type traits.

Constructor & Destructor Documentation

◆ PipelineStateCacheBase()

template<typename EngineImplTraits>
Diligent::PipelineStateCacheBase< EngineImplTraits >::PipelineStateCacheBase ( IReferenceCounters * pRefCounters,
RenderDeviceImplType * pDevice,
const PipelineStateCacheCreateInfo & CreateInfo,
bool bIsDeviceInternal = false )
inline
Parameters
pRefCounters- Reference counters object that controls the lifetime of this PSO cache.
pDevice- Pointer to the device.
CreateInfo- PSO cache create info.
bIsDeviceInternal- Flag indicating if the PSO cache is an internal device object and must not keep a strong reference to the device.