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

Method isVirtualViewShared

src/OpenColorIO/Config.cpp:3824–3838  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3822}
3823
3824bool Config::isVirtualViewShared(const char * viewName) const
3825{
3826 if (!viewName || !*viewName) return false;
3827
3828 for (int v = 0; v < getVirtualDisplayNumViews(VIEW_SHARED); v++)
3829 {
3830 const char * sharedViewName = getVirtualDisplayView(VIEW_SHARED, v);
3831 if (sharedViewName && *sharedViewName && Platform::Strcasecmp(sharedViewName, viewName) == 0)
3832 {
3833 return true;
3834 }
3835 }
3836
3837 return false;
3838}
3839
3840void Config::addVirtualDisplayView(const char * view,
3841 const char * viewTransform,

Callers 4

processVirtualDisplayMethod · 0.80
test_virtual_displayMethod · 0.80
OCIO_ADD_TESTFunction · 0.80
OCIO_ADD_TESTFunction · 0.80

Calls 1

StrcasecmpFunction · 0.85

Tested by 3

test_virtual_displayMethod · 0.64
OCIO_ADD_TESTFunction · 0.64
OCIO_ADD_TESTFunction · 0.64