protected Draw ( |
||
gameTime | Provides a snapshot of timing values. | |
Результат | void |
protected override void Draw(GameTime gameTime)
{
GraphicsDevice.SetRenderTarget(renderTarget);
Color color = new Color();
color.A = 255;
color.R = (byte)random.Next(0, 255);
color.G = (byte)random.Next(0, 255);
color.B = (byte)random.Next(0, 255);
GraphicsDevice.Clear(color);
GraphicsDevice.SetRenderTarget(null);
GraphicsDevice.Clear(Color.CornflowerBlue);
basicUI.Draw(gameTime.ElapsedGameTime.TotalMilliseconds);
debug.Draw();
base.Draw(gameTime);
}