# SecondarySpriteTexture

> Encapsulates a Texture2D and its shader property name to give Sprite-based renderers access to a secondary texture, in addition to the main Sprite texture.

## Definition

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

```csharp
public struct SecondarySpriteTexture
```

## Fields

| Value                                                                                    | Description                                                                                                               |
| ---------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
| [name](/engine/6000.0/script-reference/unityengine/secondaryspritetexture/name.md)       | The shader property name of the secondary Sprite texture. Use this name to identify and sample the texture in the shader. |
| [texture](/engine/6000.0/script-reference/unityengine/secondaryspritetexture/texture.md) | The texture to be used as a secondary Sprite texture.                                                                     |
