public void OnDraw(ISwapChainDrawingContext context) { var ctx = new SwapChainDrawingContext(context); GetTarget()?.OnDraw(ref ctx); }
public SwapChainDrawingContext(ISwapChainDrawingContext context) { _context = context; }