Version: 2020.1
Experimental: this API is experimental and might be changed or removed in the future.

ShaderWarmup.WarmupShader

マニュアルに切り替える
public static void WarmupShader (Shader shader, Experimental.Rendering.ShaderWarmupSetup setup);

説明

Prepares one shader with given rendering setup.

Calling this function will perform dummy one-invisible-triangle rendering with all the variants and given rendering setup. See Also: Shader.WarmupAllShaders.