public void SetRenderTarget(RenderTarget2D renderTarget) { if (renderTarget == null) { SetRenderTargets(null); } else { _tempRenderTargetBinding[0] = new RenderTargetBinding(renderTarget); SetRenderTargets(_tempRenderTargetBinding); } }
TextureTarget IRenderTarget.GetFramebufferTarget(RenderTargetBinding renderTargetBinding) { return(glTarget); }