diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2019-04-05 15:46:06 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2019-04-05 15:46:06 +0000 |
| commit | 9ab14b7d6e99129fcb9ec12f2693e50ab74d2b8c (patch) | |
| tree | 9c582457845f5cc2adaf6faf643010886f2695f6 /Graphics/GraphicsEngine | |
| parent | Replaced overloaded IPipelineState::GetStaticShaderVariable() with IPipelineS... (diff) | |
| download | DiligentCore-9ab14b7d6e99129fcb9ec12f2693e50ab74d2b8c.tar.gz DiligentCore-9ab14b7d6e99129fcb9ec12f2693e50ab74d2b8c.zip | |
Replaced overloaded IShaderResourceBinding::GetVariable() with IShaderResourceBinding::GetVariableByName() and IShaderResourceBinding::GetVariableByIndex()
Diffstat (limited to 'Graphics/GraphicsEngine')
| -rw-r--r-- | Graphics/GraphicsEngine/interface/ShaderResourceBinding.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Graphics/GraphicsEngine/interface/ShaderResourceBinding.h b/Graphics/GraphicsEngine/interface/ShaderResourceBinding.h index 0afaa1f1..61a0569e 100644 --- a/Graphics/GraphicsEngine/interface/ShaderResourceBinding.h +++ b/Graphics/GraphicsEngine/interface/ShaderResourceBinding.h @@ -67,7 +67,7 @@ public: /// \param [in] ShaderType - Type of the shader to look up the variable. /// Must be one of Diligent::SHADER_TYPE. /// \param [in] Name - Variable name - virtual IShaderResourceVariable* GetVariable(SHADER_TYPE ShaderType, const char* Name) = 0; + virtual IShaderResourceVariable* GetVariableByName(SHADER_TYPE ShaderType, const char* Name) = 0; /// Returns the total variable count for the specific shader stage. @@ -86,7 +86,7 @@ public: /// IShaderResourceBinding::GetVariableCount(). /// \remark Only mutable and dynamic variables can be accessed through this method. /// Static variables are accessed through the Shader object. - virtual IShaderResourceVariable* GetVariable(SHADER_TYPE ShaderType, Uint32 Index) = 0; + virtual IShaderResourceVariable* GetVariableByIndex(SHADER_TYPE ShaderType, Uint32 Index) = 0; /// Initializes static resources |
