Open CASCADE Technology  7.2.0
Public Member Functions | Data Fields

OpenGl_AspectText::Resources Struct Reference

OpenGl resources. More...

#include <OpenGl_AspectText.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_AspectText::Resources::Resources ( )
inline

Member Function Documentation

◆ BuildShader()

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

◆ IsShaderReady()

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

◆ ResetShaderReadiness()

void OpenGl_AspectText::Resources::ResetShaderReadiness ( )
inline

◆ SetShaderReady()

void OpenGl_AspectText::Resources::SetShaderReady ( )
inline

Field Documentation

◆ ShaderProgram

Handle< OpenGl_ShaderProgram > OpenGl_AspectText::Resources::ShaderProgram

◆ ShaderProgramId

TCollection_AsciiString OpenGl_AspectText::Resources::ShaderProgramId

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