MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / bindSceneTexture

Method bindSceneTexture

source/MRViewer/MRViewer.cpp:2722–2730  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2720}
2721
2722void Viewer::bindSceneTexture( bool bind )
2723{
2724 if ( !sceneTexture_ )
2725 return;
2726 if ( bind )
2727 sceneTexture_->bind( false );
2728 else
2729 sceneTexture_->unbind();
2730}
2731
2732bool Viewer::isSceneTextureEnabled() const
2733{

Callers 4

postDraw_Method · 0.80
renderToImageFunction · 0.80
multiPickObjectsMethod · 0.80
findVisibleFacesMethod · 0.80

Calls 2

unbindMethod · 0.80
bindMethod · 0.45

Tested by

no test coverage detected