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

Function transform_CB

src/apps/ociodisplay/main.cpp:465–481  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

463}
464
465void transform_CB(int id)
466{
467 OCIO::ConstConfigRcPtr config = OCIO::GetCurrentConfig();
468
469 const char * transform = config->getView(g_display.c_str(), id);
470 if (!transform)
471 {
472 return;
473 }
474
475 g_transformName = transform;
476
477 g_look = config->getDisplayViewLooks(g_display.c_str(), g_transformName.c_str());
478
479 UpdateOCIOGLState();
480 glutPostRedisplay();
481}
482
483void look_CB(int id)
484{

Callers

nothing calls this directly

Calls 4

GetCurrentConfigFunction · 0.85
UpdateOCIOGLStateFunction · 0.85
getDisplayViewLooksMethod · 0.80
getViewMethod · 0.45

Tested by

no test coverage detected