MCPcopy Create free account
hub / github.com/NatronGitHub/openfx-misc / describe

Method describe

VectorToColor/VectorToColor.cpp:379–401  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

377
378mDeclarePluginFactory(VectorToColorPluginFactory, {ofxsThreadSuiteCheck();}, {});
379void
380VectorToColorPluginFactory::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
403static void
404addInputChannelOtions(ChoiceParamDescriptor* outputR,

Callers

nothing calls this directly

Calls 1

setLabelMethod · 0.80

Tested by

no test coverage detected