pixi.js
Version:
PixiJS — The HTML5 Creation Engine =============
9 lines (8 loc) • 390 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
*/
export declare function isRenderingToScreen(renderTarget: RenderTarget): boolean;