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