projects
/
occt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e16477
)
0031715: Visualization - add access to proxy shader program
author
osa
<osa@opencascade.com>
Fri, 21 Aug 2020 08:22:45 +0000
(11:22 +0300)
committer
bugmaster
<bugmaster@opencascade.com>
Sat, 22 Aug 2020 09:13:12 +0000
(12:13 +0300)
src/OpenGl/OpenGl_ShaderProgram.hxx
patch
|
blob
|
blame
|
history
diff --git
a/src/OpenGl/OpenGl_ShaderProgram.hxx
b/src/OpenGl/OpenGl_ShaderProgram.hxx
index
c86f0ec
..
7ed83ff
100755
(executable)
--- 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