import { CoreBrowserTexture } from './CoreBrowserTexture'; import { FimColor, FimDimensions, FimEngineOptions } from '@leosingleton/fim'; import { CoreCanvas2D, CoreCanvasOptions, CoreCanvasWebGL, CoreTextureOptions, RenderingContextWebGL } from '@leosingleton/fim/internals'; /** Wrapper around the browser's OffscreenCanvas */ export declare class CoreBrowserOffscreenCanvasWebGL extends CoreCanvasWebGL { constructor(dimensions: FimDimensions, canvasOptions: CoreCanvasOptions, handle: string, engineOptions?: FimEngineOptions); private canvasElement; protected disposeSelf(): void; getImageSource(): CanvasImageSource; createContext(): RenderingContextWebGL; protected createCanvas2D(dimensions: FimDimensions, canvasOptions: CoreCanvasOptions, handle: string, engineOptions: FimEngineOptions): CoreCanvas2D; protected createCoreTextureInternal(parent: CoreCanvasWebGL, dimensions: FimDimensions, options: CoreTextureOptions, handle: string): CoreBrowserTexture; protected addCanvasEventListener(type: string, listener: EventListenerObject, options: boolean): void; protected removeCanvasEventListener(type: string, listener: EventListenerObject, options: boolean): void; fillSolid(color: FimColor | string): void; /** Set to `true` on the first call to `fillSolid()` to use the workaround on subsequent calls */ private workaroundChromeBug; }