Name

kOfxOpenGLPropPixelDepth — Indicates the bit depths supported by a plug-in during OpenGL renders.

Synopsis

#include "/ofxOpenGLRender.h"
#define kOfxOpenGLPropPixelDepth "OfxOpenGLPropPixelDepth"

Type

kOfxOpenGLPropPixelDepth is of type string, and is of variable dimension.

Property Set

This is a property that belongs to the plugin descriptor (read only) .

Default

The default value is none set .

Valid Values

This must be one of

Description

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)