diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-01-26 06:15:30 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-01-26 06:15:30 +0000 |
| commit | d066eca3eb7d60701a3cd5dc9159136ba233902e (patch) | |
| tree | 435510cde28558b799fef748fbd495442ed8b490 /Graphics/GraphicsEngineD3D12 | |
| parent | Updated shader C interface; added test. (diff) | |
| download | DiligentCore-d066eca3eb7d60701a3cd5dc9159136ba233902e.tar.gz DiligentCore-d066eca3eb7d60701a3cd5dc9159136ba233902e.zip | |
Reworked IShaderResourceVariable::GetResourceDesc() method to be compatible with C
Diffstat (limited to 'Graphics/GraphicsEngineD3D12')
| -rw-r--r-- | Graphics/GraphicsEngineD3D12/include/ShaderVariableD3D12.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Graphics/GraphicsEngineD3D12/include/ShaderVariableD3D12.h b/Graphics/GraphicsEngineD3D12/include/ShaderVariableD3D12.h index b19b98cf..f7a1f8c8 100644 --- a/Graphics/GraphicsEngineD3D12/include/ShaderVariableD3D12.h +++ b/Graphics/GraphicsEngineD3D12/include/ShaderVariableD3D12.h @@ -187,9 +187,9 @@ public: m_Resource.BindResource(ppObjects[Elem], FirstElement + Elem, m_ParentManager.m_ResourceCache); } - virtual ShaderResourceDesc GetResourceDesc() const override final + virtual void GetResourceDesc(ShaderResourceDesc& ResourceDesc) const override final { - return GetHLSLResourceDesc(); + ResourceDesc = GetHLSLResourceDesc(); } virtual HLSLShaderResourceDesc GetHLSLResourceDesc() const override final |
