| 377 | |
| 378 | mDeclarePluginFactory(VectorToColorPluginFactory, {ofxsThreadSuiteCheck();}, {}); |
| 379 | void |
| 380 | VectorToColorPluginFactory::describe(ImageEffectDescriptor &desc) |
| 381 | { |
| 382 | // basic labels |
| 383 | desc.setLabel(kPluginName); |
| 384 | desc.setPluginGrouping(kPluginGrouping); |
| 385 | desc.setPluginDescription(kPluginDescription); |
| 386 | |
| 387 | desc.addSupportedContext(eContextFilter); |
| 388 | desc.addSupportedContext(eContextGeneral); |
| 389 | desc.addSupportedBitDepth(eBitDepthFloat); |
| 390 | |
| 391 | // set a few flags |
| 392 | desc.setSingleInstance(false); |
| 393 | desc.setHostFrameThreading(false); |
| 394 | desc.setSupportsMultiResolution(kSupportsMultiResolution); |
| 395 | desc.setSupportsTiles(kSupportsTiles); |
| 396 | desc.setTemporalClipAccess(false); |
| 397 | desc.setRenderTwiceAlways(false); |
| 398 | desc.setSupportsMultipleClipPARs(kSupportsMultipleClipPARs); |
| 399 | desc.setSupportsMultipleClipDepths(kSupportsMultipleClipDepths); |
| 400 | desc.setRenderThreadSafety(kRenderThreadSafety); |
| 401 | } |
| 402 | |
| 403 | static void |
| 404 | addInputChannelOtions(ChoiceParamDescriptor* outputR, |