Example #1
0
 public GFX(GraphicsDevice device)
 {
     Inst = this;
     GFXShaderConstants.AuthorShaderConstantFile();
     RegisterDevice(device);
     guiManager = new GUIElementManager();
 }
Example #2
0
 public GFX(GraphicsDevice device, ContentManager contentManager)
 {
     Inst = this;
     GFXShaderConstants.AuthorShaderConstantFile();
     RegisterDevice(device);
     this.contentManager = contentManager;
     guiManager = new GUIElementManager(contentManager.Load<SpriteFont>("SimpleFont"));
 }