public static void CompilePass (Material material, int pass, bool forceSync);

Parámetros

materialTarget Material.
passIndex of the target Shader pass.
forceSyncForces the script execution to wait until the compilation has finished. Optional.

Descripción

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