# renderQueue

> The render queue to use as an override on this material.

## Definition

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

```csharp
public int renderQueue { get; set; }
```

### Remarks

Use this property to override the render queue of the material, to change when Unity draws GameObjects that use the material.

Use a value of '-1' to use the default render queue value from the shader.

Note: When Unity runs in batch mode, Scriptable Render Pipelines (SRPs) are only loaded the first time something renders. Loading an SRP modifies the subshader selected for a given material, which can change the value of this property.

Additional Resources: [RenderQueue](/engine/6000.6/script-reference/unityengine/rendering/renderqueue.md), [Render queues and sorting behaviours in the Built-in Render Pipeline](/engine/6000.6/manual/cameras/built-in-rendering-order.md).
