private void SetUpVeldrid() { if (!(ViewReady && VeldridReady)) { return; } BackEnd.SetUp((VeldridSurface)Content); BackEnd.SetUpTextured(this); GraphicsClock.Start(); }
private void SetUpGL() { if (!(ControlReady && OpenGLContextReady)) { return; } ((GLSurface)Content).MakeCurrent(); BackEnd.SetUp(); OpenGLReady = true; OpenGLBackEnd.SetUpTextured(this); }