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

OpenGl_AspectLine::Resources::Resources ( )
inline

Member Function Documentation

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

Field Documentation

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

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