/** * The base class for the exporters, implementing shared functionality. * * @category Exporter * @ignore */ export class CoreExporter { /** * Converts a texture to a canvas. * * @param {Texture} texture - The source texture to be converted. * @param {object} options - Object for passing optional arguments. * @param {import('../../core/math/color.js').Color} [options.color] - The tint color to modify the texture with. * @param {number} [options.maxTextureSize] - Maximum texture size. Texture is resized if over the size. * @returns {Promise|Promise} - The canvas element containing the image. * * @ignore */ textureToCanvas(texture: Texture, options?: { color?: import("../../core/math/color.js").Color; maxTextureSize?: number; }): Promise | Promise; calcTextureSize(width: any, height: any, maxTextureSize: any): { width: any; height: any; }; } import { Texture } from '../../platform/graphics/texture.js';