Open CASCADE Technology  7.1.0.beta
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

OpenGl_AspectText::Resources::Resources ( )
inline

Member Function Documentation

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

Field Documentation

Handle< OpenGl_ShaderProgram > OpenGl_AspectText::Resources::ShaderProgram
TCollection_AsciiString OpenGl_AspectText::Resources::ShaderProgramId

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