Open CASCADE Technology  7.3.0
Public Member Functions | Data Fields
OpenGl_AspectLine::Resources Struct Reference

OpenGl resources. More...

#include <OpenGl_AspectLine.hxx>

Public Member Functions

 Resources ()
 
Standard_Boolean IsShaderReady () const
 
void SetShaderReady ()
 
void ResetShaderReadiness ()
 
void BuildShader (const Handle< OpenGl_Context > &theCtx, const Handle< Graphic3d_ShaderProgram > &theShader)
 

Data Fields

Handle< OpenGl_ShaderProgramShaderProgram
 
TCollection_AsciiString ShaderProgramId
 

Detailed Description

OpenGl resources.

Constructor & Destructor Documentation

◆ Resources()

OpenGl_AspectLine::Resources::Resources ( )
inline

Member Function Documentation

◆ BuildShader()

void OpenGl_AspectLine::Resources::BuildShader ( const Handle< OpenGl_Context > &  theCtx,
const Handle< Graphic3d_ShaderProgram > &  theShader 
)

◆ IsShaderReady()

Standard_Boolean OpenGl_AspectLine::Resources::IsShaderReady ( ) const
inline

◆ ResetShaderReadiness()

void OpenGl_AspectLine::Resources::ResetShaderReadiness ( )
inline

◆ SetShaderReady()

void OpenGl_AspectLine::Resources::SetShaderReady ( )
inline

Field Documentation

◆ ShaderProgram

Handle< OpenGl_ShaderProgram > OpenGl_AspectLine::Resources::ShaderProgram

◆ ShaderProgramId

TCollection_AsciiString OpenGl_AspectLine::Resources::ShaderProgramId

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