public RenderSession(GlContext ctx, IDisposable restoreContext, SizeSynchronizedLayerFbo fbo) { _ctx = ctx; _restoreContext = restoreContext; _fbo = fbo; Size = new PixelSize(_fbo.Width, _fbo.Height); Scaling = _fbo.Scaling; Context = ctx; }
public RenderTarget(GlContext ctx, SizeSynchronizedLayerFbo fbo) { _ctx = ctx; _fbo = fbo; }