mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-16 10:08:36 +03:00
0031715: Visualization - add access to proxy shader program
This commit is contained in:
parent
8e16477b50
commit
fe3dbc63fc
@ -260,6 +260,9 @@ public:
|
|||||||
//! Fetches uniform variables from proxy shader program.
|
//! Fetches uniform variables from proxy shader program.
|
||||||
Standard_EXPORT Standard_Boolean ApplyVariables (const Handle(OpenGl_Context)& theCtx);
|
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
|
//! @return true if current object was initialized
|
||||||
inline bool IsValid() const
|
inline bool IsValid() const
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user