Skip to content
pixi-silk
GitHub repository
Function

requestFrame

import { requestFrame } from 'pixi-silk';
function requestFrame(): void;

Asks for one render on the next frame when renderOnDemand is on. Does nothing otherwise. A SilkGraphics calls it when it is redrawn, a widget while it animates, and a BlockSurface when it paints, so they need no extra code.

Returns#

void