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

Method getNumColorSpaces

src/OpenColorIO/ViewingRules.cpp:234–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

232}
233
234size_t ViewingRules::getNumColorSpaces(size_t ruleIndex) const
235{
236 m_impl->validatePosition(ruleIndex);
237 return m_impl->m_rules[ruleIndex]->m_colorSpaces.getNumTokens();
238}
239
240const char * ViewingRules::getColorSpace(size_t ruleIndex, size_t colorSpaceIndex) const
241{

Callers 2

IsEncodingUsedFunction · 0.45
ViewingRules.cppFile · 0.45

Calls 2

getNumTokensMethod · 0.80
validatePositionMethod · 0.45

Tested by

no test coverage detected