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">
10 lines (9 loc) • 403 B
TypeScript
import type { RenderTarget } from './RenderTarget';
/**
* Checks if the render target is viewable on the screen
* Basically, is it a canvas element and is that canvas element in the DOM
* @param renderTarget - the render target to check
* @returns true if the render target is viewable on the screen
* @internal
*/
export declare function isRenderingToScreen(renderTarget: RenderTarget): boolean;