openfx
openfx copied to clipboard
Missing header file note ofxOpenGLRender.h
http://openeffects.org/standard_changes/modifying-plugin-properties-after-description states that a plugin instance can change the Enable state in Instance Changed with the following precaution advised for plugins that do so:
" When setting to true we also do this (assuming it's not set): // we support all the OpenGL bit depths gPropHost->propSetString(effectProps, kOfxOpenGLPropPixelDepth, 0, kOfxBitDepthByte); gPropHost->propSetString(effectProps, kOfxOpenGLPropPixelDepth, 1, kOfxBitDepthShort); gPropHost->propSetString(effectProps, kOfxOpenGLPropPixelDepth, 2, kOfxBitDepthFloat); gPropHost->propSetString(effectProps, kOfxOpenGLPropPixelDepth, 3, kOfxBitDepthHalf );
"