Diligent Engine API Reference
Public Member Functions | List of all members
Diligent::CommandListBase< BaseInterface, CommandListObjAllocator > Class Template Reference

Template class implementing base functionality for a command list object. More...

Inheritance diagram for Diligent::CommandListBase< BaseInterface, CommandListObjAllocator >:
Diligent::DeviceObjectBase< BaseInterface, CommandListDesc, CommandListObjAllocator > Diligent::ObjectBase< BaseInterface, CommandListObjAllocator > Diligent::RefCountedObject< BaseInterface, CommandListObjAllocator >

Public Member Functions

 CommandListBase (CommandListObjAllocator &ObjAllocator, IRenderDevice *pDevice, bool bIsDeviceInternal=false)
 
- Public Member Functions inherited from Diligent::DeviceObjectBase< BaseInterface, CommandListDesc, CommandListObjAllocator >
 DeviceObjectBase (CommandListObjAllocator &ObjAllocator, class IRenderDevice *pDevice, const CommandListDesc &ObjDesc, IObject *pOwner=nullptr, bool bIsDeviceInternal=false)
 
UniqueIdentifier GetUniqueID () const
 Returns unique identifier. More...
 

Additional Inherited Members

- Protected Attributes inherited from Diligent::DeviceObjectBase< BaseInterface, CommandListDesc, CommandListObjAllocator >
const String m_ObjectNameCopy
 Copy of a device object name. More...
 
CommandListDesc m_Desc
 Object description.
 

Detailed Description

template<class BaseInterface, class CommandListObjAllocator>
class Diligent::CommandListBase< BaseInterface, CommandListObjAllocator >

Template class implementing base functionality for a command list object.

Template Parameters
BaseInterface- base interface that this class will inheret (Diligent::ICommandListD3D11 or Diligent::ICommandListD3D12).
CommandListObjAllocator- allocator that is used to allocate memory for command list object instances

Constructor & Destructor Documentation

template<class BaseInterface, class CommandListObjAllocator>
Diligent::CommandListBase< BaseInterface, CommandListObjAllocator >::CommandListBase ( CommandListObjAllocator &  ObjAllocator,
IRenderDevice pDevice,
bool  bIsDeviceInternal = false 
)
inline
Parameters
ObjAllocator- Allocator that was used to allocate memory for this instance of the command list object
pDevice- pointer to the device.
bIsDeviceInternal- flag indicating if the CommandList is an internal device object and must not keep a strong reference to the device.