Exemplo n.º 1
0
        protected override void Draw()
        {
            renderTexture.Clear();
            renderTexture.Draw(background);
            Screens.Draw();
            renderTexture.Display();

            RenderWindow.Clear();
            RenderWindow.Draw(new Sprite(renderTexture.Texture));
            RenderWindow.Display();
        }
Exemplo n.º 2
0
        public void Draw(SKCanvas canvas)
        {
            Surface.Canvas.SetSkiaCanvas(canvas);

            Screens.Draw(Surface.Canvas.GetSkiaCanvas());
        }