* @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"
(width, height, attributes)
| 27 | * @param {boolean} [attributes.antiAlias=false] - Whether to enable anti-aliasing, use false (default) for a pixelated effect. |
| 28 | */ |
| 29 | constructor(width, height, attributes) { |
| 30 | warning("CanvasTexture", "CanvasRenderTarget", "17.1.0"); |
| 31 | super(width, height, attributes); |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | /** |