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