diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2019-04-25 05:17:09 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2019-04-25 05:17:09 +0000 |
| commit | f3698c9127d6e384eabe779b8fb3519c94e0babb (patch) | |
| tree | 9e24ffe8d89b58d464766d7c03ecabe4fe62d466 /Graphics/GraphicsEngineVulkan | |
| parent | Added slerp; updated Quaternion in math lib (diff) | |
| download | DiligentCore-f3698c9127d6e384eabe779b8fb3519c94e0babb.tar.gz DiligentCore-f3698c9127d6e384eabe779b8fb3519c94e0babb.zip | |
Added IShaderResourceVariable::IsBound method (updated API version to 240024)
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
| -rw-r--r-- | Graphics/GraphicsEngineVulkan/include/ShaderVariableVk.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngineVulkan/include/ShaderVariableVk.h b/Graphics/GraphicsEngineVulkan/include/ShaderVariableVk.h index b67fcf5e..65d5b05c 100644 --- a/Graphics/GraphicsEngineVulkan/include/ShaderVariableVk.h +++ b/Graphics/GraphicsEngineVulkan/include/ShaderVariableVk.h @@ -184,6 +184,11 @@ public: return m_ParentManager.GetVariableIndex(*this); } + virtual bool IsBound(Uint32 ArrayIndex) const override final + { + return m_Resource.IsBound(ArrayIndex, m_ParentManager.m_ResourceCache); + } + const ShaderResourceLayoutVk::VkResource& GetResource()const { return m_Resource; |
