GameLoadingScreenProps
What Game hands a loading screen.
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
label |
string |
That stage in plain words, such as “Preparing shaders”. |
problem |
LoadingProblem | null |
A stall or a failure to show, or null. |
retry |
() => void |
Reloads the page, for the button a problem shows. |
stage |
LoadingStage |
The stage the load waits on. |
value |
number |
How far the load is, from 0 to 1, never moving back. It reaches 1 once the first playable frame has drawn, or 10 s after the other stages are in if the shaders never report done; the screen lifts then. |