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

Method setColorSpace

src/OpenColorIO/FileRules.cpp:757–761  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

755}
756
757void FileRules::setColorSpace(size_t ruleIndex, const char * colorSpace)
758{
759 m_impl->validatePosition(ruleIndex, Impl::DEFAULT_ALLOWED);
760 m_impl->m_rules[ruleIndex]->setColorSpace(colorSpace);
761}
762
763size_t FileRules::getNumCustomKeys(size_t ruleIndex) const
764{

Callers 8

test_color_spaceMethod · 0.95
_set_valueMethod · 0.45
loadFunction · 0.45
ImplMethod · 0.45
insertRuleMethod · 0.45
OCIO_ADD_TESTFunction · 0.45

Calls 1

validatePositionMethod · 0.45

Tested by 2

test_color_spaceMethod · 0.76
OCIO_ADD_TESTFunction · 0.36