doIdleWork
doIdleWork: boolean | undefined
To help prevent delays when a user interacts with a Viewport, the WebGL render system can precompile shader programs before any Viewport is opened. This particularly helps applications when they do not open a Viewport immediately upon startup - for example, if the user is first expected to select an iModel and a view through the user interface. Shader precompilation will cease once all shader programs have been compiled, or when a Viewport is opened (registered with the ViewManager).
@note Enabling this feature can slow UI interactions before a Viewport is opened.
To enable this feature, set this to true
.
Default value: false
Defined in
- core/frontend/src/render/RenderSystem.ts Line 1052
Last Updated: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.