openfx icon indicating copy to clipboard operation
openfx copied to clipboard

Missing header file note ofxOpenGLRender.h

Open PierreJasmin opened this issue 9 years ago • 0 comments

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 );

"

PierreJasmin avatar Sep 16 '16 23:09 PierreJasmin