WebGLMultipleRenderTargets constructor
WebGLMultipleRenderTargets(
- int width,
- int height,
- int count, [
- WebGLRenderTargetOptions? options,
Implementation
WebGLMultipleRenderTargets(
int width,
int height,
int count, [
WebGLRenderTargetOptions? options,
]) : super(width, height, options) {
isWebGLMultipleRenderTargets = true;
var texture = this.texture;
this.texture = [];
for (var i = 0; i < count; i++) {
this.texture.add(texture.clone());
}
}