summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngine
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-04-05 15:28:29 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-04-05 15:28:29 +0000
commit06a38ea982ed1856d6fb9c143068ee8c68f59cef (patch)
tree680565d999d684f1d8bf51974208bc3df8b26a47 /Graphics/GraphicsEngine
parentImplemented staging textures in Vk backend (diff)
downloadDiligentCore-06a38ea982ed1856d6fb9c143068ee8c68f59cef.tar.gz
DiligentCore-06a38ea982ed1856d6fb9c143068ee8c68f59cef.zip
Replaced overloaded IPipelineState::GetStaticShaderVariable() with IPipelineState::GetStaticVariableByName() and IPipelineState::GetStaticVariableByIndex() (closed https://github.com/DiligentGraphics/DiligentCore/issues/82).
Diffstat (limited to 'Graphics/GraphicsEngine')
-rw-r--r--Graphics/GraphicsEngine/interface/PipelineState.h4
1 files changed, 2 insertions, 2 deletions
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