# SetWireframe(bool)

> Add a "set wireframe" command to the buffer.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Rendering](/engine/6000.0/script-reference/unityengine/rendering.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public void SetWireframe(bool enable)
```

### Parameters

**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): A boolean indicating whether to enable wireframe mode.

### Remarks

When enabled the scene will be rendered in wireframe mode (see [GL.wireframe](/engine/6000.0/script-reference/unityengine/gl/wireframe.md)). This is not supported on some platforms (f.e. OpenGL ES).
