Exemple #1
0
        public bool RegisterPlugIN(string name, warp_FXPlugin plugin)
        {
            if (_scene == null)
            {
                return(false);
            }

            _plugins.Add(name, plugin);

            return(true);
        }
Exemple #2
0
        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);
        }