Allows transform parameter values to be set on-the-fly (after finalization). For example, to modify the exposure in a viewport. Dynamic properties can be accessed from the CPUProcessor
or GpuShaderCreator
to change values between processing.
{
exposure->setValue(1.1
f);
}
{
OCIO::GradingPrimary primary = primaryProp->getValue();
primary.m_saturation += 0.1f;
rgbCurveProp->setValue(primary);
}
{
rCurve->getControlPoint(1).m_y += 0.1f;
rgbCurveProp->setValue(rgbCurve);
}
Definition at line 691 of file OpenColorTransforms.h.