Invalidate the current rendering and cause rendering to refresh.
Signature:
invalidate(nframesNormally?: number): void;
Returns:
void