コード例 #1
0
ファイル: Game1.cs プロジェクト: hochladen/Hacknet
 protected void LoadGraphicsContent()
 {
     this.spriteBatch = new SpriteBatch(this.GraphicsDevice);
     if (this.NeedsSettingsLocaleActivation)
     {
         SettingsLoader.ShouldMultisample = this.GraphicsDevice.Adapter.IsProfileSupported(GraphicsProfile.HiDef);
     }
     PostProcessor.init(this.graphics.GraphicsDevice, this.spriteBatch, this.Content);
     WebRenderer.init(this.graphics.GraphicsDevice);
 }
コード例 #2
0
 protected void LoadGraphicsContent()
 {
     spriteBatch = new SpriteBatch(GraphicsDevice);
     PostProcessor.init(graphics.GraphicsDevice, spriteBatch, Content);
     WebRenderer.init(graphics.GraphicsDevice);
 }