useMultisampledRenderToTexture method

bool useMultisampledRenderToTexture(
  1. RenderTarget renderTarget
)

Implementation

bool useMultisampledRenderToTexture(RenderTarget renderTarget) {
  final renderTargetProperties = properties.get(renderTarget);

  return isWebGL2 &&
      renderTarget.samples > 0 &&
      extensions.has('WEBGL_multisampled_render_to_texture') == true &&
      renderTargetProperties["__useRenderToTexture"] != false;
}