import { BaseTexture } from './base_texture.js'; import { Texture } from './texture.js'; /** * Creates a new BaseTexture from a canvas element. * @param {HTMLCanvasElement} canvas - The canvas element to use as the texture source. * @param {number} [scaleMode] - The scale mode to use for the texture. * @returns {BaseTexture} The newly created BaseTexture instance. */ export declare const baseTextureFromCanvas: (canvas: HTMLCanvasElement, scaleMode?: number) => BaseTexture; /** * Creates a new Texture from a canvas element. * @param {HTMLCanvasElement} canvas - The canvas element to use as the texture source. * @param {number} [scaleMode] - The scale mode to use for the texture. * @returns {Texture} The newly created Texture instance. */ export declare const textureFromCanvas: (canvas: HTMLCanvasElement, scaleMode?: number) => Texture; //# sourceMappingURL=texture_util.d.ts.map