Exemplo n.º 1
0
        private void Draw()
        {
            if (_swapChain == null)
            {
                return;
            }

            GraphicsDraw?.Invoke(this, new GraphicsEventArgs(GraphicsDevice, _swapChain));
        }
Exemplo n.º 2
0
 void IMTKViewDelegate.Draw(MTKView view)
 {
     GraphicsDraw?.Invoke(this, new GraphicsEventArgs(_graphicsDevice, _swapChain));
 }