WebGLMultisampleRenderTarget constructor

WebGLMultisampleRenderTarget(
  1. int width,
  2. int height, [
  3. WebGLRenderTargetOptions? options
])

Implementation

WebGLMultisampleRenderTarget(super.width, super.height, [super.options]){
  isWebGLMultisampleRenderTarget = true;
  ignoreDepthForMultisampleCopy = options.ignoreDepth;
  useRenderToTexture = options.useRenderToTexture;
  useRenderbuffer = useRenderToTexture == false;
}