Version: 2023.1
언어: 한국어

ShaderVariantCollection.ShaderVariantConstructor

매뉴얼로 전환
public ShaderVariantCollection.ShaderVariant (Shader shader, Rendering.PassType passType, params string[] keywords);

설명

Creates a ShaderVariant structure.

Note that this will throw an ArgumentException if shader is null, pass type does not exist or variant with the passed keywords is not found.

See Also: ShaderVariantCollection.Add.