コード例 #1
0
 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;
 }
コード例 #2
0
 public RenderTarget(GlContext ctx, SizeSynchronizedLayerFbo fbo)
 {
     _ctx = ctx;
     _fbo = fbo;
 }