API Reference > imodeljs-frontend > Views > ScreenViewport > invalidateCachedDecorations invalidateCachedDecorations Method Forces removal of a specific decorator's cached decorations from this viewport, if they exist. This will force those decorations to be regenerated. invalidateCachedDecorations(decorator: ViewportDecorator): void see ViewportDecorator.useCachedDecorations. Parameter Type Description decorator ViewportDecorator Returns - void Defined in core/frontend/src/Viewport.ts Line 2761 Last Updated: 12 June, 2024