From 06a38ea982ed1856d6fb9c143068ee8c68f59cef Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Fri, 5 Apr 2019 08:28:29 -0700 Subject: Replaced overloaded IPipelineState::GetStaticShaderVariable() with IPipelineState::GetStaticVariableByName() and IPipelineState::GetStaticVariableByIndex() (closed https://github.com/DiligentGraphics/DiligentCore/issues/82). --- Graphics/GraphicsEngine/interface/PipelineState.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Graphics/GraphicsEngine') diff --git a/Graphics/GraphicsEngine/interface/PipelineState.h b/Graphics/GraphicsEngine/interface/PipelineState.h index 3b749f60..aed9b145 100644 --- a/Graphics/GraphicsEngine/interface/PipelineState.h +++ b/Graphics/GraphicsEngine/interface/PipelineState.h @@ -274,7 +274,7 @@ public: /// \param [in] Name - Name of the variable. /// \remark The method does not increment the reference counter /// of the returned interface. - virtual IShaderResourceVariable* GetStaticShaderVariable(SHADER_TYPE ShaderType, const Char* Name) = 0; + virtual IShaderResourceVariable* GetStaticVariableByName(SHADER_TYPE ShaderType, const Char* Name) = 0; /// Returns static shader resource variable by its index. @@ -287,7 +287,7 @@ public: /// \remark Only static shader resource variables can be accessed through this method. /// Mutable and dynamic variables are accessed through Shader Resource /// Binding object - virtual IShaderResourceVariable* GetStaticShaderVariable(SHADER_TYPE ShaderType, Uint32 Index) = 0; + virtual IShaderResourceVariable* GetStaticVariableByIndex(SHADER_TYPE ShaderType, Uint32 Index) = 0; /// Creates a shader resource binding object -- cgit v1.2.3