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

Method describe

Keyer/Keyer.cpp:917–941  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

915
916mDeclarePluginFactory(KeyerPluginFactory, {ofxsThreadSuiteCheck();}, {});
917void
918KeyerPluginFactory::describe(ImageEffectDescriptor &desc)
919{
920 // basic labels
921 desc.setLabel(kPluginName);
922 desc.setPluginGrouping(kPluginGrouping);
923 desc.setPluginDescription(kPluginDescription);
924
925 desc.addSupportedContext(eContextFilter);
926 desc.addSupportedContext(eContextGeneral);
927 //desc.addSupportedBitDepth(eBitDepthUByte);
928 desc.addSupportedBitDepth(eBitDepthUShort);
929 desc.addSupportedBitDepth(eBitDepthFloat);
930
931 // set a few flags
932 desc.setSingleInstance(false);
933 desc.setHostFrameThreading(false);
934 desc.setSupportsMultiResolution(kSupportsMultiResolution);
935 desc.setSupportsTiles(kSupportsTiles);
936 desc.setTemporalClipAccess(false);
937 desc.setRenderTwiceAlways(false);
938 desc.setSupportsMultipleClipPARs(kSupportsMultipleClipPARs);
939 desc.setSupportsMultipleClipDepths(kSupportsMultipleClipDepths);
940 desc.setRenderThreadSafety(kRenderThreadSafety);
941}
942
943void
944KeyerPluginFactory::describeInContext(ImageEffectDescriptor &desc,

Callers

nothing calls this directly

Calls 1

setLabelMethod · 0.80

Tested by

no test coverage detected