public bool RegisterPlugIN(string name, warp_FXPlugin plugin) { if (_scene == null) { return(false); } _plugins.Add(name, plugin); return(true); }
public bool Render() { try { _scene.render(); foreach (DictionaryEntry myDE in _plugins) { warp_FXPlugin plugin = ( warp_FXPlugin )myDE.Value; plugin.apply(); } } catch (Exception) { return(false); } return(true); }