From: osa Date: Fri, 21 Aug 2020 08:22:45 +0000 (+0300) Subject: 0031715: Visualization - add access to proxy shader program X-Git-Tag: V7_5_0_beta~118 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=fe3dbc63fc97c42ceb76b566fdb84fca3b1c5750;p=occt.git 0031715: Visualization - add access to proxy shader program --- diff --git a/src/OpenGl/OpenGl_ShaderProgram.hxx b/src/OpenGl/OpenGl_ShaderProgram.hxx index c86f0ec3c5..7ed83ff91d 100755 --- a/src/OpenGl/OpenGl_ShaderProgram.hxx +++ b/src/OpenGl/OpenGl_ShaderProgram.hxx @@ -259,6 +259,9 @@ public: //! Fetches uniform variables from proxy shader program. Standard_EXPORT Standard_Boolean ApplyVariables (const Handle(OpenGl_Context)& theCtx); + + //! @return proxy shader program. + const Handle(Graphic3d_ShaderProgram)& Proxy() const { return myProxy; } //! @return true if current object was initialized inline bool IsValid() const