Open CASCADE Technology
7.7.0
|
OpenGl resources for custom shading program. More...
#include <OpenGl_AspectsProgram.hxx>
Public Member Functions | |
OpenGl_AspectsProgram () | |
Empty constructor. More... | |
const Handle< OpenGl_ShaderProgram > & | ShaderProgram (const Handle< OpenGl_Context > &theCtx, const Handle< Graphic3d_ShaderProgram > &theShader) |
Return shading program. More... | |
void | UpdateRediness (const Handle< Graphic3d_Aspects > &theAspect) |
Update shader resource up-to-date state. More... | |
void | Release (OpenGl_Context *theCtx) |
Release resource. More... | |
OpenGl resources for custom shading program.
|
inline |
Empty constructor.
void OpenGl_AspectsProgram::Release | ( | OpenGl_Context * | theCtx | ) |
Release resource.
|
inline |
Return shading program.
void OpenGl_AspectsProgram::UpdateRediness | ( | const Handle< Graphic3d_Aspects > & | theAspect | ) |
Update shader resource up-to-date state.