diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2019-03-05 07:19:07 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2019-03-05 07:19:07 +0000 |
| commit | bdbca67b0e03baec3b9dd803e803d267210e892b (patch) | |
| tree | aa20e56029a30178360cd1b17f0c817f9d590daf /Graphics/GraphicsEngine | |
| parent | Updated GL engine factory headers and structures (diff) | |
| download | DiligentCore-bdbca67b0e03baec3b9dd803e803d267210e892b.tar.gz DiligentCore-bdbca67b0e03baec3b9dd803e803d267210e892b.zip | |
Added ShaderFlags parameter to IPipelineState::BindStaticResources
Diffstat (limited to 'Graphics/GraphicsEngine')
| -rw-r--r-- | Graphics/GraphicsEngine/interface/PipelineState.h | 4 | ||||
| -rw-r--r-- | Graphics/GraphicsEngine/interface/ShaderResourceBinding.h | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/Graphics/GraphicsEngine/interface/PipelineState.h b/Graphics/GraphicsEngine/interface/PipelineState.h index 0f6efcf6..f562a2cd 100644 --- a/Graphics/GraphicsEngine/interface/PipelineState.h +++ b/Graphics/GraphicsEngine/interface/PipelineState.h @@ -251,9 +251,11 @@ public: /// Binds resources for all shaders in the pipeline state + /// \param [in] ShaderFlags - Flags that specify shader stages, for which resources will be bound. + /// Any combination of Diligent::SHADER_TYPE may be used. /// \param [in] pResourceMapping - Pointer to the resource mapping interface. /// \param [in] Flags - Additional flags. See Diligent::BIND_SHADER_RESOURCES_FLAGS. - virtual void BindStaticResources(IResourceMapping* pResourceMapping, Uint32 Flags) = 0; + virtual void BindStaticResources(Uint32 ShaderFlags, IResourceMapping* pResourceMapping, Uint32 Flags) = 0; /// Returns the number of static shader resource variables. diff --git a/Graphics/GraphicsEngine/interface/ShaderResourceBinding.h b/Graphics/GraphicsEngine/interface/ShaderResourceBinding.h index d2523685..0afaa1f1 100644 --- a/Graphics/GraphicsEngine/interface/ShaderResourceBinding.h +++ b/Graphics/GraphicsEngine/interface/ShaderResourceBinding.h @@ -56,8 +56,8 @@ public: /// Binds mutable and dynamice resources using the resource mapping - /// \param [in] ShaderFlags - Flags for the shader stages, for which resources will be bound. - /// Any combination of Diligent::SHADER_TYPE may be specified. + /// \param [in] ShaderFlags - Flags that specify shader stages, for which resources will be bound. + /// Any combination of Diligent::SHADER_TYPE may be used. /// \param [in] pResMapping - Shader resource mapping, where required resources will be looked up /// \param [in] Flags - Additional flags. See Diligent::BIND_SHADER_RESOURCES_FLAGS. virtual void BindResources(Uint32 ShaderFlags, IResourceMapping* pResMapping, Uint32 Flags) = 0; |
