All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
OCIO_NAMESPACE::ColorSpaceHelpers Namespace Reference


OCIOEXPORT void AddColorSpace (ConfigRcPtr &config, const char *name, const char *transformFilePath, const char *categories, const char *connectionColorSpaceName)

Function Documentation

OCIOEXPORT void OCIO_NAMESPACE::ColorSpaceHelpers::AddColorSpace ( ConfigRcPtr &  config,
const char *  name,
const char *  transformFilePath,
const char *  categories,
const char *  connectionColorSpaceName 

Add a new color space to the config instance. The output of the userTransform must be in the specified connectionColorSpace.

Note: If the config does not already use categories, we do not add them since that would make a big change to how existing color spaces show up in menus.