9 lines
390 B
TypeScript
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;
|