/** * @deprecated since 17.1.0 * @see CanvasRenderTarget */ export class CanvasTexture extends CanvasRenderTarget { /** * @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. */ constructor(width: number, height: number, attributes: { context?: boolean | undefined; offscreenCanvas?: boolean | undefined; willReadFrequently?: boolean | undefined; antiAlias?: boolean | undefined; }); } /** * @deprecated since 18.1.0 * @see Batcher */ export class Compositor extends Batcher { /** @param {any[]} args */ constructor(...args: any[]); } /** * @deprecated since 18.1.0 * @see PrimitiveBatcher */ export class PrimitiveCompositor extends PrimitiveBatcher { /** @param {any[]} args */ constructor(...args: any[]); } /** * @deprecated since 18.1.0 * @see QuadBatcher */ export class QuadCompositor extends QuadBatcher { /** @param {any[]} args */ constructor(...args: any[]); } export * as Math from "./../math/math.ts"; import CanvasRenderTarget from "../video/rendertarget/canvasrendertarget.js"; import { Batcher } from "../video/webgl/batchers/batcher.js"; import PrimitiveBatcher from "../video/webgl/batchers/primitive_batcher.js"; import QuadBatcher from "../video/webgl/batchers/quad_batcher.js"; //# sourceMappingURL=deprecated.d.ts.map