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

Function imageColorSpace_CB

src/apps/ociodisplay/main.cpp:426–439  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

424}
425
426void imageColorSpace_CB(int id)
427{
428 OCIO::ConstConfigRcPtr config = OCIO::GetCurrentConfig();
429 const char * name = config->getColorSpaceNameByIndex(id);
430 if (!name)
431 {
432 return;
433 }
434
435 g_inputColorSpace = name;
436
437 UpdateOCIOGLState();
438 glutPostRedisplay();
439}
440
441void displayDevice_CB(int id)
442{

Callers

nothing calls this directly

Calls 3

GetCurrentConfigFunction · 0.85
UpdateOCIOGLStateFunction · 0.85

Tested by

no test coverage detected