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

Method getVirtualDisplayNumViews

src/OpenColorIO/Config.cpp:3900–3911  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3898}
3899
3900int Config::getVirtualDisplayNumViews(ViewType type) const noexcept
3901{
3902 switch(type)
3903 {
3904 case VIEW_DISPLAY_DEFINED:
3905 return static_cast<int>(getImpl()->m_virtualDisplay.m_views.size());
3906 case VIEW_SHARED:
3907 return static_cast<int>(getImpl()->m_virtualDisplay.m_sharedViews.size());
3908 }
3909
3910 return 0;
3911}
3912
3913const char * Config::getVirtualDisplayView(ViewType type, int index) const noexcept
3914{

Callers 8

PyConfig.cppFile · 0.80
saveFunction · 0.80
addUniqueVirtualViewsMethod · 0.80
processVirtualDisplayMethod · 0.80
handleRemoveMethod · 0.80
OCIO_ADD_TESTFunction · 0.80
OCIO_ADD_TESTFunction · 0.80
OCIO_ADD_TESTFunction · 0.80

Calls 2

getImplFunction · 0.50
sizeMethod · 0.45

Tested by 3

OCIO_ADD_TESTFunction · 0.64
OCIO_ADD_TESTFunction · 0.64
OCIO_ADD_TESTFunction · 0.64