UNPKG

pixi.js

Version:

<p align="center"> <a href="https://pixijs.com" target="_blank" rel="noopener noreferrer"> <img height="150" src="https://files.pixijs.download/branding/pixijs-logo-transparent-dark.svg?v=1" alt="PixiJS logo"> </a> </p> <br/> <p align="center">

12 lines (11 loc) 533 B
import type { Texture } from '../../rendering/renderers/shared/texture/Texture'; import type { Renderer } from '../../rendering/renderers/types'; /** * Logs a texture to the console as a base64 image. * This can be very useful for debugging issues with rendering. * @param texture - The texture to log * @param renderer - The renderer to use * @param size - The size of the texture to log in the console * @ignore */ export declare function logDebugTexture(texture: Texture, renderer: Renderer, size?: number): Promise<void>;