Open CASCADE Technology 7.8.2.dev
OpenGl_AspectsProgram Class Reference

OpenGl resources for custom shading program. More...

#include <OpenGl_AspectsProgram.hxx>

Public Member Functions

 OpenGl_AspectsProgram ()
 Empty constructor.
 
const Handle< OpenGl_ShaderProgram > & ShaderProgram (const Handle< OpenGl_Context > &theCtx, const Handle< Graphic3d_ShaderProgram > &theShader)
 Return shading program.
 
void UpdateRediness (const Handle< Graphic3d_Aspects > &theAspect)
 Update shader resource up-to-date state.
 
void Release (OpenGl_Context *theCtx)
 Release resource.
 

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: