constructor(width, height, attributes) {
		warning("CanvasTexture", "CanvasRenderTarget", "17.1.0");
		super(width, height, attributes);
	}
@param {number} width - the desired width of the canvas
@param {number} height - the desired height of the canvas
@param {object} attributes - The attributes to create both the canvas and context
@param {boolean} [attributes.context="2d"] - the context type to be created ("2d", "webgl", "webgl2")
@param {boolean} [attributes.offscreenCanvas=false] - will create an offscreenCanvas if true instead of a standard canvas
@param {boolean} [attributes.willReadFrequently=false] - Indicates whether or not a lot of read-back operations are planned
@param {boolean} [attributes.antiAlias=false] - Whether to enable anti-aliasing, use false (default) for a pixelated effect.