예제 #1
0
        void CompositionTarget_Rendering(object sender, object e)
        {
            if (_sisTarget1 == null)
            {
                return;
            }
            if (_sisTarget2 == null)
            {
                return;
            }

            Tick();

            if (_hasEffectRenderer)
            {
                _effectRenderer.Update(gameTime);
            }
            if (_hasMagicRenderer)
            {
                _magicRenderer.Update(gameTime);
            }

            _sisTarget1.RenderAll();
            _sisTarget2.RenderAll();
        }
        void CompositionTarget_Rendering(object sender, object e)
        {
            if (_sisTarget1 == null)
            {
                return;
            }

            Tick();

            if (_hasEffectRenderer && _updateRendererAction != null)
            {
                _updateRendererAction(gameTime);
            }
            //if (_hasEffectRenderer) _effectRenderer.Update(gameTime);

            _sisTarget1.RenderAll();
        }
예제 #3
0
 void CompositionTarget_Rendering(object sender, object e)
 {
     d2dTarget.RenderAll();
 }