Пример #1
0
        public virtual bool NextPass()
        {
            if (Pass == 0)
            {
                Batch.Pause();
                PPXDepthEngine.SetPPXTarget(Target, null, true);
                Batch.Resume();

                Pass++;
                return(true);
            }
            return(false);
        }
Пример #2
0
        public virtual bool NextPass()
        {
            if (Pass == 0)
            {
                Batch.Pause();
                GD.SetRenderTarget(Target);
                GD.Clear(Color.Transparent);
                Batch.Resume();

                Pass++;
                return(true);
            }
            return(false);
        }