WebGLMultisampleRenderTarget constructor

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

Implementation

WebGLMultisampleRenderTarget(int width, int height, [WebGLRenderTargetOptions? options])
    : super(width, height, options) {
  isWebGLMultisampleRenderTarget = true;
  ignoreDepthForMultisampleCopy = this.options.ignoreDepth != undefined ? this.options.ignoreDepth : true;
  useRenderToTexture = (this.options.useRenderToTexture != undefined) ? this.options.useRenderToTexture : false;
  useRenderbuffer = useRenderToTexture == false;
}