/// <summary> /// We will just take over the whole rendering of this scene :) /// </summary> /// <param name="device"></param> public override void Draw(GraphicsDevice device) { if (HasInit == false) { return; } if (FSOEnvironment.SoftwareDepth) { PPXDepthEngine.DrawBackbuffer(); return; } InternalDraw(device); }
/// <summary> /// We will just take over the whole rendering of this scene :) /// </summary> /// <param name="device"></param> public override void Draw(GraphicsDevice device) { if (HasInit == false) { return; } FrameCounter++; if (FrameCounter < LastCacheClear + 60 * 60) { State._2D.ClearTextureCache(); } if (!UseBackbuffer) { InternalDraw(device); } else { PPXDepthEngine.DrawBackbuffer(Opacity); } return; }