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

Method getActiveDisplay

src/OpenColorIO/Config.cpp:4217–4226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4215}
4216
4217const char * Config::getActiveDisplay( int index ) const
4218{
4219 if( index<0 ||
4220 index >= static_cast<int>(getImpl()->m_activeDisplays.size()))
4221 {
4222 return nullptr;
4223 }
4224
4225 return getImpl()->m_activeDisplays[index].c_str();
4226}
4227
4228int Config::getNumActiveDisplays() const
4229{

Callers 3

PyConfig.cppFile · 0.80
saveFunction · 0.80
OCIO_ADD_TESTFunction · 0.80

Calls 2

getImplFunction · 0.50
sizeMethod · 0.45

Tested by 1

OCIO_ADD_TESTFunction · 0.64