Parameter Properties Whose Type Vary

Some properties type depends on the kind of the parameter, eg: kOfxParamPropDefault is an int for a integer parameter but a double X 2 for a kOfxParamTypeDouble2D parameter.

The variant property types are as follows....

  • kOfxParamTypeInteger - int X 1
  • kOfxParamTypeDouble - double X 1
  • kOfxParamTypeBoolean - int X 1
  • kOfxParamTypeChoice - int X 1
  • kOfxParamTypeRGBA - double X 4 (normalised to 0..1 range)
  • kOfxParamTypeRGB - double X 3 (normalised to 0..1 range)
  • kOfxParamTypeDouble2D - double X 2
  • kOfxParamTypeInteger2D - int X 2
  • kOfxParamTypeDouble3D - double X 3
  • kOfxParamTypeInteger3D - int X 3
  • kOfxParamTypeString - char * X 1
  • kOfxParamTypeCustom - char * X 1
  • kOfxParamTypePushButton - none