Version: 2022.3
言語: 日本語
public static void CompilePass (Material material, int pass, bool forceSync);

パラメーター

material Target Material.
pass Index of the target Shader pass.
forceSync Forces the script execution to wait until the compilation has finished. Optional.

説明

Request the Editor to compile the Shader Variant needed for the specific pass of the given Material.