WebGLMultisampleRenderTarget constructor
WebGLMultisampleRenderTarget(
- int width,
- int height, [
- 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;
}