Exemplo n.º 1
0
        private void SetUpVeldrid()
        {
            if (!(ViewReady && VeldridReady))
            {
                return;
            }

            BackEnd.SetUp((VeldridSurface)Content);

            BackEnd.SetUpTextured(this);

            GraphicsClock.Start();
        }
Exemplo n.º 2
0
        private void SetUpGL()
        {
            if (!(ControlReady && OpenGLContextReady))
            {
                return;
            }

            ((GLSurface)Content).MakeCurrent();

            BackEnd.SetUp();

            OpenGLReady = true;

            OpenGLBackEnd.SetUpTextured(this);
        }