private void Draw() { if (_swapChain == null) { return; } GraphicsDraw?.Invoke(this, new GraphicsEventArgs(GraphicsDevice, _swapChain)); }
void IMTKViewDelegate.Draw(MTKView view) { GraphicsDraw?.Invoke(this, new GraphicsEventArgs(_graphicsDevice, _swapChain)); }