Version: 2021.3

ShaderUtil.HasProceduralInstancing

切换到手册
public static bool HasProceduralInstancing (Shader s);

参数

s The Shader to check.

返回

bool Returns true if the Shader has a valid Procedural Instancing variant. Returns false otherwise.

描述

Determines whether the specified Shader contains a valid Procedural Instancing variant.