void moPostPlugin::Unload() { if (DestroyPostEffectFactory) this->DestroyPostEffectFactory(); CreatePostEffectFactory = NULL; DestroyPostEffectFactory = NULL; moUnloadPlugin(handle); }
void moPrePlugin::Unload() { this->DestroyPreEffectFactory(); CreatePreEffectFactory = NULL; DestroyPreEffectFactory = NULL; moUnloadPlugin(handle); }