Open CASCADE Technology  6.9.0
Public Member Functions | Data Fields

OpenGl_AspectMarker::Resources Struct Reference

OpenGl resources. More...

#include <OpenGl_AspectMarker.hxx>

Public Member Functions

 Resources ()
 
Standard_Boolean IsSpriteReady () const
 
Standard_Boolean IsShaderReady () const
 
void SetSpriteReady ()
 
void SetShaderReady ()
 
void ResetSpriteReadiness ()
 
void ResetShaderReadiness ()
 
void BuildSprites (const Handle< OpenGl_Context > &theCtx, const Handle< Graphic3d_MarkerImage > &theMarkerImage, const Aspect_TypeOfMarker theType, const Standard_ShortReal theScale, const TEL_COLOUR &theColor, Standard_ShortReal &theMarkerSize)
 
void BuildShader (const Handle< OpenGl_Context > &theCtx, const Handle< Graphic3d_ShaderProgram > &theShader)
 
void SpriteKeys (const Handle< Graphic3d_MarkerImage > &theMarkerImage, const Aspect_TypeOfMarker theType, const Standard_ShortReal theScale, const TEL_COLOUR &theColor, TCollection_AsciiString &theKey, TCollection_AsciiString &theKeyA)
 

Data Fields

Handle< OpenGl_PointSpriteSprite
 
TCollection_AsciiString SpriteKey
 
Handle< OpenGl_PointSpriteSpriteA
 
TCollection_AsciiString SpriteAKey
 
Handle< OpenGl_ShaderProgramShaderProgram
 
TCollection_AsciiString ShaderProgramId
 

Detailed Description

OpenGl resources.

Constructor & Destructor Documentation

OpenGl_AspectMarker::Resources::Resources ( )
inline

Member Function Documentation

void OpenGl_AspectMarker::Resources::BuildShader ( const Handle< OpenGl_Context > &  theCtx,
const Handle< Graphic3d_ShaderProgram > &  theShader 
)
void OpenGl_AspectMarker::Resources::BuildSprites ( const Handle< OpenGl_Context > &  theCtx,
const Handle< Graphic3d_MarkerImage > &  theMarkerImage,
const Aspect_TypeOfMarker  theType,
const Standard_ShortReal  theScale,
const TEL_COLOUR theColor,
Standard_ShortReal theMarkerSize 
)
Standard_Boolean OpenGl_AspectMarker::Resources::IsShaderReady ( ) const
inline
Standard_Boolean OpenGl_AspectMarker::Resources::IsSpriteReady ( ) const
inline
void OpenGl_AspectMarker::Resources::ResetShaderReadiness ( )
inline
void OpenGl_AspectMarker::Resources::ResetSpriteReadiness ( )
inline
void OpenGl_AspectMarker::Resources::SetShaderReady ( )
inline
void OpenGl_AspectMarker::Resources::SetSpriteReady ( )
inline
void OpenGl_AspectMarker::Resources::SpriteKeys ( const Handle< Graphic3d_MarkerImage > &  theMarkerImage,
const Aspect_TypeOfMarker  theType,
const Standard_ShortReal  theScale,
const TEL_COLOUR theColor,
TCollection_AsciiString theKey,
TCollection_AsciiString theKeyA 
)

Field Documentation

Handle< OpenGl_ShaderProgram > OpenGl_AspectMarker::Resources::ShaderProgram
TCollection_AsciiString OpenGl_AspectMarker::Resources::ShaderProgramId
Handle< OpenGl_PointSprite > OpenGl_AspectMarker::Resources::Sprite
Handle< OpenGl_PointSprite > OpenGl_AspectMarker::Resources::SpriteA
TCollection_AsciiString OpenGl_AspectMarker::Resources::SpriteAKey
TCollection_AsciiString OpenGl_AspectMarker::Resources::SpriteKey

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