setRenderTargetFramebuffer method

void setRenderTargetFramebuffer(
  1. RenderTarget renderTarget,
  2. dynamic defaultFramebuffer
)

Implementation

void setRenderTargetFramebuffer(RenderTarget renderTarget, defaultFramebuffer) {
  var renderTargetProperties = properties.get(renderTarget);
  renderTargetProperties["__webglFramebuffer"] = defaultFramebuffer;
  renderTargetProperties["__useDefaultFramebuffer"] = defaultFramebuffer == null;
}