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

Method setViewingRules

src/OpenColorIO/Config.cpp:3337–3343  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3335}
3336
3337void Config::setViewingRules(ConstViewingRulesRcPtr viewingRules)
3338{
3339 getImpl()->m_viewingRules = viewingRules->createEditableCopy();
3340
3341 AutoMutex lock(getImpl()->m_cacheidMutex);
3342 getImpl()->resetCacheIDs();
3343}
3344
3345bool Config::isViewShared(const char * dispName, const char * viewName) const
3346{

Callers 12

add_presetMethod · 0.80
_clear_itemsMethod · 0.80
_add_itemMethod · 0.80
_remove_itemMethod · 0.80
_set_valueMethod · 0.80
loadFunction · 0.80
processViewingRulesMethod · 0.80
handleInputOnlyMethod · 0.80
handleRemoveMethod · 0.80
test_configMethod · 0.80
OCIO_ADD_TESTFunction · 0.80
OCIO_ADD_TESTFunction · 0.80

Calls 3

resetCacheIDsMethod · 0.80
getImplFunction · 0.50
createEditableCopyMethod · 0.45

Tested by 3

test_configMethod · 0.64
OCIO_ADD_TESTFunction · 0.64
OCIO_ADD_TESTFunction · 0.64