Version: 2020.2
언어: 한국어
Experimental: this API is experimental and might be changed or removed in the future.

ShaderWarmup.WarmupShaderFromCollection

매뉴얼로 전환
public static void WarmupShaderFromCollection (ShaderVariantCollection collection, Shader shader, Experimental.Rendering.ShaderWarmupSetup setup);

설명

Prepares one shader with given rendering setup and variants saved in collection.

Calling this function will perform dummy one-invisible-triangle rendering with all variants referenced in collection and given rendering setup. See Also: ShaderVariantCollection.WarmUp.