import type { InternalTexture } from "@babylonjs/core/Materials/Textures/internalTexture"; import type { IInternalTextureLoader } from "@babylonjs/core/Materials/Textures/Loaders/internalTextureLoader"; /** * Implementation of the .bmp texture loader that handle alpha for BITMAPINFOHEADER like DirectX9 behavior. * @internal */ export declare class _DxBmpTextureLoader implements IInternalTextureLoader { /** * Defines whether the loader supports cascade loading the different faces. */ readonly supportCascades = false; /** * Uploads the cube texture data to the WebGL texture. It has already been bound. */ loadCubeData(): void; private static readonly _HeaderExtension; private _injectHeader; private _workingCanvas; private _workingContext; private _prepareTextureProcess; /** * Uploads the 2D texture data to the WebGL texture. It has already been bound once in the callback. * @param data contains the texture data * @param texture defines the BabylonJS internal texture * @param callback defines the method to call once ready to upload */ loadData(data: ArrayBufferView, texture: InternalTexture, callback: (width: number, height: number, loadMipmap: boolean, isCompressed: boolean, done: () => void, loadFailed?: boolean, options?: any) => void): void; }