WebGLArrayRenderTarget constructor
WebGLArrayRenderTarget([
- int width = 1,
- int height = 1,
- int depth = 1,
- WebGLRenderTargetOptions? options,
Implementation
WebGLArrayRenderTarget([int width = 1, int height = 1, int depth = 1, WebGLRenderTargetOptions? options]) : super(width, height, options) {
this.depth = depth;
texture = DataArrayTexture(null, width, height, depth);
texture.isRenderTargetTexture = true;
}