Open CASCADE Technology
7.3.0
|
#include <OpenGl_AspectMarker.hxx>
Public Member Functions | |
Resources () | |
Empty constructor. More... | |
const Handle< OpenGl_TextureSet > & | Sprite () const |
const Handle< OpenGl_TextureSet > & | SpriteA () const |
const Handle< OpenGl_ShaderProgram > & | ShaderProgram () const |
Standard_Boolean | IsSpriteReady () const |
Standard_Boolean | IsShaderReady () const |
void | SetSpriteReady () |
void | SetShaderReady () |
void | UpdateTexturesRediness (const Handle< Graphic3d_AspectMarker3d > &theAspect, Standard_ShortReal &theMarkerSize) |
Update texture resource up-to-date state. More... | |
void | UpdateShaderRediness (const Handle< Graphic3d_AspectMarker3d > &theAspect) |
Update shader resource up-to-date state. More... | |
void | ReleaseTextures (OpenGl_Context *theCtx) |
Release texture resource. More... | |
void | ReleaseShaders (OpenGl_Context *theCtx) |
Release shader resource. More... | |
void | BuildSprites (const Handle< OpenGl_Context > &theCtx, const Handle< Graphic3d_MarkerImage > &theMarkerImage, const Aspect_TypeOfMarker theType, const Standard_ShortReal theScale, const Graphic3d_Vec4 &theColor, Standard_ShortReal &theMarkerSize) |
Build texture resources. More... | |
void | BuildShader (const Handle< OpenGl_Context > &theCtx, const Handle< Graphic3d_ShaderProgram > &theShader) |
Build shader resources. More... | |
OpenGl resources.
|
inline |
Empty constructor.
void OpenGl_AspectMarker::Resources::BuildShader | ( | const Handle< OpenGl_Context > & | theCtx, |
const Handle< Graphic3d_ShaderProgram > & | theShader | ||
) |
Build shader resources.
void OpenGl_AspectMarker::Resources::BuildSprites | ( | const Handle< OpenGl_Context > & | theCtx, |
const Handle< Graphic3d_MarkerImage > & | theMarkerImage, | ||
const Aspect_TypeOfMarker | theType, | ||
const Standard_ShortReal | theScale, | ||
const Graphic3d_Vec4 & | theColor, | ||
Standard_ShortReal & | theMarkerSize | ||
) |
Build texture resources.
|
inline |
|
inline |
void OpenGl_AspectMarker::Resources::ReleaseShaders | ( | OpenGl_Context * | theCtx | ) |
Release shader resource.
void OpenGl_AspectMarker::Resources::ReleaseTextures | ( | OpenGl_Context * | theCtx | ) |
Release texture resource.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void OpenGl_AspectMarker::Resources::UpdateShaderRediness | ( | const Handle< Graphic3d_AspectMarker3d > & | theAspect | ) |
Update shader resource up-to-date state.
void OpenGl_AspectMarker::Resources::UpdateTexturesRediness | ( | const Handle< Graphic3d_AspectMarker3d > & | theAspect, |
Standard_ShortReal & | theMarkerSize | ||
) |
Update texture resource up-to-date state.