Exemplo n.º 1
0
        public void Initialize(GraphicsDevice graphics)
        {
            _graphics = graphics;

            _bokehShader.Initialize(graphics);

            _spriteBatch = new SpriteBatch(graphics);
        }
        public void Initialize(GraphicsDevice graphics)
        {
            _graphics = graphics;

            _ParticlePhysicsShader.Initialize(graphics);
            _bokehShader.Initialize(graphics);

            _spriteBatch = new SpriteBatch(graphics);

            CreateRenderTargets();
        }