コード例 #1
0
ファイル: GFX.cs プロジェクト: nhippenmeyer/CS248
 public GFX(GraphicsDevice device)
 {
     Inst = this;
     GFXShaderConstants.AuthorShaderConstantFile();
     RegisterDevice(device);
     guiManager = new GUIElementManager();
 }
コード例 #2
0
ファイル: GFX.cs プロジェクト: MattVitelli/Nosferatu
 public GFX(GraphicsDevice device, ContentManager contentManager)
 {
     Inst = this;
     GFXShaderConstants.AuthorShaderConstantFile();
     RegisterDevice(device);
     this.contentManager = contentManager;
     guiManager = new GUIElementManager(contentManager.Load<SpriteFont>("SimpleFont"));
 }