Exemplo n.º 1
0
 public OgreInterface()
 {
     if (instance != null)
     {
         throw new InvalidPluginException("The OgrePlugin plugin can only be initialized one time.");
     }
     ogreResourceManager = new OgreResourceManager(materialParser);
 }
 internal OgreResourceManager(MaterialParserManager materialParser)
 {
     this.materialParser = materialParser;
     ogreResourceManager = OgreResourceGroupManager.getInstance();
     instance            = this;
 }