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

Template class implementing base functionality of the command list object. More...

#include <CommandListBase.hpp>

Inheritance diagram for Diligent::CommandListBase< EngineImplTraits >:
Diligent::DeviceObjectBase< EngineImplTraits::CommandListInterface, EngineImplTraits::RenderDeviceImplType, CommandListDesc > Diligent::ObjectBase< EngineImplTraits::CommandListInterface > Diligent::RefCountedObject< EngineImplTraits::CommandListInterface >

Public Member Functions

 CommandListBase (IReferenceCounters *pRefCounters, RenderDeviceImplType *pDevice, DeviceContextImplType *pDeferredCtx, bool bIsDeviceInternal=false)
 
- Public Member Functions inherited from Diligent::DeviceObjectBase< EngineImplTraits::CommandListInterface, EngineImplTraits::RenderDeviceImplType, CommandListDesc >
 DeviceObjectBase (IReferenceCounters *pRefCounters, RenderDeviceImplType *pDevice, const CommandListDesc &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::CommandListInterface, EngineImplTraits::RenderDeviceImplType, CommandListDesc >
RenderDeviceImplType *const m_pDevice
 Pointer to the device.
 
CommandListDesc m_Desc
 Object description.
 

Detailed Description

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

Template class implementing base functionality of the command list object.

Template Parameters
EngineImplTraits- Engine implementation type traits.

Constructor & Destructor Documentation

◆ CommandListBase()

template<typename EngineImplTraits>
Diligent::CommandListBase< EngineImplTraits >::CommandListBase ( IReferenceCounters * pRefCounters,
RenderDeviceImplType * pDevice,
DeviceContextImplType * pDeferredCtx,
bool bIsDeviceInternal = false )
inline
Parameters
pRefCounters- Reference counters object that controls the lifetime of this command list.
pDevice- Pointer to the device.
pDeferredCtx- Deferred context that recorded this command list.
bIsDeviceInternal- Flag indicating if the CommandList is an internal device object and must not keep a strong reference to the device.