# stream

> Which vertex buffer stream the attribute should be in.

## Definition

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

```csharp
public int stream { readonly get; set; }
```

### Remarks

Unity supports up to 4 vertex streams, most meshes use one stream for all attributes. Default value is 0.

For a mesh to be compatible with a [SkinnedMeshRenderer](/engine/6000.6/script-reference/unityengine/skinnedmeshrenderer.md), it must have multiple vertex streams: one for deformed data (positions, normals, tangents), one for static data (colors and texture coordinates), and one for skinning data (blend weights and blend indices).

Additional Resources: [Mesh.SetVertexBufferParams](/engine/6000.6/script-reference/unityengine/mesh/setvertexbufferparams.md).
