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

Method createInstance

SlitScan/SlitScan.cpp:1044–1049  ·  view source on GitHub ↗

@brief The create instance function, the plugin must return an object derived from the \ref ImageEffect class */

Source from the content-addressed store, hash-verified

1042
1043/** @brief The create instance function, the plugin must return an object derived from the \ref ImageEffect class */
1044ImageEffect*
1045SlitScanPluginFactory::createInstance(OfxImageEffectHandle handle,
1046 ContextEnum /*context*/)
1047{
1048 return new SlitScanPlugin(handle);
1049}
1050
1051static SlitScanPluginFactory p(kPluginIdentifier, kPluginVersionMajor, kPluginVersionMinor);
1052mRegisterPluginFactoryInstance(p)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected