HasProceduralInstancing(Shader)
Determines whether the specified Shader contains a valid Procedural Instancing variant.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public static bool HasProceduralInstancing(Shader s)
Parameters
The Shader to check.
Returns
Type | Description |
|---|---|
| bool | Returns true if the Shader has a valid Procedural Instancing variant. Returns false otherwise. |