diff options
Diffstat (limited to 'Graphics/GraphicsEngine')
| -rw-r--r-- | Graphics/GraphicsEngine/include/PipelineStateBase.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngine/include/PipelineStateBase.h b/Graphics/GraphicsEngine/include/PipelineStateBase.h index 80813fba..5496e01d 100644 --- a/Graphics/GraphicsEngine/include/PipelineStateBase.h +++ b/Graphics/GraphicsEngine/include/PipelineStateBase.h @@ -226,6 +226,12 @@ public: return m_ShaderResourceLayoutHash != ValidatedCast<PipelineStateBase>(pPSO)->m_ShaderResourceLayoutHash; } + virtual void BindShaderResources( IResourceMapping *pResourceMapping, Uint32 Flags )override + { + for(Uint32 s=0; s < m_NumShaders; ++s) + m_ppShaders[s]->BindResources(pResourceMapping, Flags); + } + protected: std::vector<LayoutElement, STDAllocatorRawMem<LayoutElement> > m_LayoutElements; |
