Diligent Engine API Reference
|
Template class implementing base functionality for a pipeline state object. More...
Public Member Functions | |
PipelineStateBase (IReferenceCounters *pRefCounters, IRenderDevice *pDevice, const PipelineStateDesc &PSODesc, bool bIsDeviceInternal=false) | |
![]() | |
DeviceObjectBase (IReferenceCounters *pRefCounters, IRenderDevice *pDevice, const PipelineStateDesc &ObjDesc, bool bIsDeviceInternal=false) | |
UniqueIdentifier | GetUniqueID () const |
Returns unique identifier. More... | |
Protected Attributes | |
RefCntAutoPtr< IShader > | m_pVS |
Strong reference to the vertex shader. | |
RefCntAutoPtr< IShader > | m_pPS |
Strong reference to the pixel shader. | |
RefCntAutoPtr< IShader > | m_pGS |
Strong reference to the geometry shader. | |
RefCntAutoPtr< IShader > | m_pDS |
Strong reference to the domain shader. | |
RefCntAutoPtr< IShader > | m_pHS |
Strong reference to the hull shader. | |
RefCntAutoPtr< IShader > | m_pCS |
Strong reference to the compute shader. | |
IShader * | m_ppShaders [5] |
Array of pointers to shaders that this PSO uses. | |
Uint32 | m_NumShaders |
Number of shaders that this PSO uses. | |
![]() | |
const String | m_ObjectNameCopy |
Copy of a device object name. More... | |
PipelineStateDesc | m_Desc |
Object description. | |
Template class implementing base functionality for a pipeline state object.
BaseInterface | - base interface that this class will inheret (Diligent::IPipelineStateD3D11, Diligent::IPipelineStateD3D12 or Diligent::IPipelineStateGL). |
RenderDeviceBaseInterface | - base interface for the render device (Diligent::IRenderDeviceD3D11, Diligent::IRenderDeviceD3D12, Diligent::IRenderDeviceGL, or Diligent::IRenderDeviceGLES). |
|
inline |
pRefCounters | - reference counters object that controls the lifetime of this PSO |
pDevice | - pointer to the device. |
PSODesc | - pipeline state description. |
bIsDeviceInternal | - flag indicating if the blend state is an internal device object and must not keep a strong reference to the device. |