# useInstancing

> Indicates whether this detail prototype uses GPU Instancing for rendering.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine](/engine/6000.7/script-reference/unityengine.md)
* **Assembly:** UnityEngine.TerrainModule

```csharp
public bool useInstancing { get; set; }
```

### Remarks

When you set this value to `true`, Unity uses the Material and Shader used by the [\_prototype](/engine/6000.7/script-reference/unityengine/detailprototype/prototype.md) GameObject for rendering.

Currently this setting is only effective when you specify [DetailRenderMode.VertexLit](/engine/6000.7/script-reference/unityengine/detailrendermode/vertexlit.md) as the [\_renderMode](/engine/6000.7/script-reference/unityengine/detailprototype/rendermode.md).
