Open CASCADE Technology  7.7.0
Public Member Functions
OpenGl_AspectsTextureSet Class Reference

OpenGl resources for custom textures. More...

#include <OpenGl_AspectsTextureSet.hxx>

Public Member Functions

 OpenGl_AspectsTextureSet ()
 Empty constructor. More...
 
bool IsReady () const
 Return TRUE if resource is up-to-date. More...
 
void Invalidate ()
 Invalidate resource state. More...
 
const Handle< OpenGl_TextureSet > & TextureSet (const Handle< OpenGl_Context > &theCtx, const Handle< Graphic3d_Aspects > &theAspect, const Handle< OpenGl_PointSprite > &theSprite, const Handle< OpenGl_PointSprite > &theSpriteA, bool theToHighlight)
 Return textures array. More...
 
void UpdateRediness (const Handle< Graphic3d_Aspects > &theAspect)
 Update texture resource up-to-date state. More...
 
void Release (OpenGl_Context *theCtx)
 Release texture resource. More...
 

Detailed Description

OpenGl resources for custom textures.

Constructor & Destructor Documentation

◆ OpenGl_AspectsTextureSet()

OpenGl_AspectsTextureSet::OpenGl_AspectsTextureSet ( )
inline

Empty constructor.

Member Function Documentation

◆ Invalidate()

void OpenGl_AspectsTextureSet::Invalidate ( )
inline

Invalidate resource state.

◆ IsReady()

bool OpenGl_AspectsTextureSet::IsReady ( ) const
inline

Return TRUE if resource is up-to-date.

◆ Release()

void OpenGl_AspectsTextureSet::Release ( OpenGl_Context theCtx)

Release texture resource.

◆ TextureSet()

const Handle< OpenGl_TextureSet >& OpenGl_AspectsTextureSet::TextureSet ( const Handle< OpenGl_Context > &  theCtx,
const Handle< Graphic3d_Aspects > &  theAspect,
const Handle< OpenGl_PointSprite > &  theSprite,
const Handle< OpenGl_PointSprite > &  theSpriteA,
bool  theToHighlight 
)
inline

Return textures array.

◆ UpdateRediness()

void OpenGl_AspectsTextureSet::UpdateRediness ( const Handle< Graphic3d_Aspects > &  theAspect)

Update texture resource up-to-date state.


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