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