MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenColorIO / clearSharedViews

Method clearSharedViews

src/OpenColorIO/Config.cpp:3414–3425  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3412}
3413
3414void Config::clearSharedViews()
3415{
3416 int numViews = getNumViews(VIEW_SHARED, nullptr);
3417 for (int v = numViews - 1; v >= 0; v--)
3418 {
3419 const char * sharedViewName = getView(VIEW_SHARED, nullptr, v);
3420 if (sharedViewName && *sharedViewName)
3421 {
3422 removeSharedView(sharedViewName);
3423 }
3424 }
3425}
3426
3427const char * Config::getDefaultDisplay() const
3428{

Callers 6

handlePreferInputMethod · 0.80
handlePreferBaseMethod · 0.80
handleInputOnlyMethod · 0.80
handleRemoveMethod · 0.80
test_shared_viewsMethod · 0.80
OCIO_ADD_TESTFunction · 0.80

Calls

no outgoing calls

Tested by 2

test_shared_viewsMethod · 0.64
OCIO_ADD_TESTFunction · 0.64