ShaderUtil.CompilePass
Parameters
| material | Target Material. | |
| pass | Index of the target Shader pass. | |
| forceSync | Forces the script execution to wait until the compilation has finished. Optional. |
Description 描述
Request the Editor to compile the Shader Variant needed for the specific pass of the given Material.
See Also: :ref::IsPassCompiled, allowAsyncCompilation, anythingCompiling, SetAsyncCompilation, RestoreAsyncCompilation.