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

Method describe

PLogLin/PLogLin.cpp:792–823  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

790
791mDeclarePluginFactory(PLogLinPluginFactory, {ofxsThreadSuiteCheck();}, {});
792void
793PLogLinPluginFactory::describe(ImageEffectDescriptor &desc)
794{
795 //std::cout << "describe!\n";
796 // basic labels
797 desc.setLabel(kPluginName);
798 desc.setPluginGrouping(kPluginGrouping);
799 desc.setPluginDescription(kPluginDescription);
800
801 desc.addSupportedContext(eContextFilter);
802 desc.addSupportedContext(eContextGeneral);
803 desc.addSupportedContext(eContextPaint);
804 desc.addSupportedBitDepth(eBitDepthUByte);
805 desc.addSupportedBitDepth(eBitDepthUShort);
806 desc.addSupportedBitDepth(eBitDepthFloat);
807
808 // set a few flags
809 desc.setSingleInstance(false);
810 desc.setHostFrameThreading(false);
811 desc.setSupportsMultiResolution(kSupportsMultiResolution);
812 desc.setSupportsTiles(kSupportsTiles);
813 desc.setTemporalClipAccess(false);
814 desc.setRenderTwiceAlways(false);
815 desc.setSupportsMultipleClipPARs(kSupportsMultipleClipPARs);
816 desc.setSupportsMultipleClipDepths(kSupportsMultipleClipDepths);
817 desc.setRenderThreadSafety(kRenderThreadSafety);
818
819#ifdef OFX_EXTENSIONS_NATRON
820 desc.setChannelSelector(ePixelComponentNone); // we have our own channel selector
821#endif
822 //std::cout << "describe! OK\n";
823}
824
825void
826PLogLinPluginFactory::describeInContext(ImageEffectDescriptor &desc,

Callers

nothing calls this directly

Calls 1

setLabelMethod · 0.80

Tested by

no test coverage detected