From 541560c6d8979d594ca383e432ae16e3be1872d5 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Thu, 7 Mar 2019 19:49:59 -0800 Subject: Repalced IShaderResourceVariable::GetArraySize() and GetName() with GetResourceDesc() --- Graphics/GraphicsEngineOpenGL/include/GLProgramResources.h | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'Graphics/GraphicsEngineOpenGL') diff --git a/Graphics/GraphicsEngineOpenGL/include/GLProgramResources.h b/Graphics/GraphicsEngineOpenGL/include/GLProgramResources.h index d629d64a..0e076db6 100644 --- a/Graphics/GraphicsEngineOpenGL/include/GLProgramResources.h +++ b/Graphics/GraphicsEngineOpenGL/include/GLProgramResources.h @@ -123,22 +123,12 @@ namespace Diligent return VariableType; } - virtual Uint32 GetArraySize()const override final - { - return ArraySize; - } - - virtual const Char* GetName()const override final - { - return Name; - } - virtual Uint32 GetIndex()const override final { return VariableIndex; } - ShaderResourceDesc GetResourceDesc()const + virtual ShaderResourceDesc GetResourceDesc()const override final { ShaderResourceDesc ResourceDesc; ResourceDesc.Name = Name; -- cgit v1.2.3