> ## Documentation Index
> Fetch the complete documentation index at: https://rive.app/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# VertexAttribute

Per-vertex attribute within a vertex buffer layout.
`offset` is the byte offset of this attribute within the vertex (default 0).
For interleaved layouts with multiple attributes you must set offset explicitly,
e.g. offset = 0 for position (float3 = 12 bytes), offset = 12 for normal, etc.

## Fields

### `format`

### `slot`

### `offset`
