kOfxOpenGLPropPixelDepth
— Indicates the bit depths supported by a plug-in during OpenGL renders.
#include "/ofxOpenGLRender.h" #define kOfxOpenGLPropPixelDepth "OfxOpenGLPropPixelDepth"
Indicates the bit depths supported by a plug-in during OpenGL renders.
This is analogous to kOfxImageEffectPropSupportedPixelDepths
. When a
plug-in sets this property, the host will try to provide buffers/textures
in one of the supported formats. Additionally, the target buffers where
the plug-in renders to will be set to one of the supported formats.
Unlike kOfxImageEffectPropSupportedPixelDepths
, this property is
optional. Shader-based effects might not really care about any
format specifics when using OpenGL textures, so they can leave this unset
and allow the host the decide the format.
image)