alwaysIncludedShaders | Should the shaders listed in "Always Included Shaders" be included? |
AsyncOperation Use the AsyncOperation to determine if the operation has completed.
Prewarms asynchronously all shader variants of all Shaders currently in memory.
For information on shader loading and prewarming, including a list of different prewarming techniques, see Shader loading.
While this method can be convenient, prewarming a large number of shader variants can result in long load times and high memory usage. If this is a problem, consider placing shader variants in a ShaderVariantCollection instead.
Warning: This function is only effective on the WeixinMiniGame platform.