# SetSecondaryTextureCount(int)

> Set the number of secondary textures usable by this renderer. If the size is increased then the new data is initialized with default empty values.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.3/script-reference/unityengine.md)
* **Assembly:** UnityEngine.UIModule

```csharp
public void SetSecondaryTextureCount(int size)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The new size of the secondary texture array usable by this renderer.
