Open CASCADE Technology  7.5.0
Public Member Functions

OpenGl_AspectsProgram Class Reference

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...
 

Detailed Description

OpenGl resources for custom shading program.

Constructor & Destructor Documentation

◆ OpenGl_AspectsProgram()

OpenGl_AspectsProgram::OpenGl_AspectsProgram ( )
inline

Empty constructor.

Member Function Documentation

◆ Release()

void OpenGl_AspectsProgram::Release ( OpenGl_Context theCtx)

Release resource.

◆ ShaderProgram()

const Handle< OpenGl_ShaderProgram >& OpenGl_AspectsProgram::ShaderProgram ( const Handle< OpenGl_Context > &  theCtx,
const Handle< Graphic3d_ShaderProgram > &  theShader 
)
inline

Return shading program.

◆ UpdateRediness()

void OpenGl_AspectsProgram::UpdateRediness ( const Handle< Graphic3d_Aspects > &  theAspect)

Update shader resource up-to-date state.


The documentation for this class was generated from the following file: