# HasProceduralInstancing(Shader)

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

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.5/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public static bool HasProceduralInstancing(Shader s)
```

### Parameters

**** (\[Shader]\(/engine/6000.5/script-reference/unityengine/shader)): The Shader to check.

### Returns

| Type                                                          | Description                                                                                    |
| ------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Returns true if the Shader has a valid Procedural Instancing variant. Returns false otherwise. |
