holdShaderWarmup
此内容尚不支持你的语言。
holdShaderWarmup(
app,busy): () =>void
Defined in: sdk/src/render/shaderWarmup.ts:45
Tells warmShaders that part of the scene is still being made while busy answers true: a ground whose pages are being painted, a field
whose cells are being grown. What is made later draws with shaders nothing has asked for yet, and a warm-up that stopped at the first quiet
frames opened on a scene that then filled in. A number is how much is left to make (pages, cells: whatever the maker counts in), which
a loading screen can show going down; true is one thing of no size. Returns what takes the hold away.
Parameters
Section titled “Parameters”() => number | boolean
Returns
Section titled “Returns”() => void