Files
nothoughts/node_modules/pixi.js/lib/rendering/renderers/shared/renderTarget/isRenderingToScreen.d.ts
2025-08-04 18:57:35 +02:00

9 lines
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;