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