# `ExMujoco.Types.MjrVertexAttributeUsage`
[🔗](https://github.com/d-led/ex.mujoco/blob/main/lib/ex_mujoco/types/mjr_vertex_attribute_usage_.ex#L2)

`mjrVertexAttributeUsage_`, from MuJoCo's headers, as numbers. All 5 values carry a number in the header.

# `t`

```elixir
@type t() :: integer()
```

# `attribute_usage_color`

```elixir
@spec attribute_usage_color() :: 4
```

mjVERTEX_ATTRIBUTE_USAGE_COLOR is 4.

# `attribute_usage_normal`

```elixir
@spec attribute_usage_normal() :: 1
```

mjVERTEX_ATTRIBUTE_USAGE_NORMAL is 1.

# `attribute_usage_position`

```elixir
@spec attribute_usage_position() :: 0
```

mjVERTEX_ATTRIBUTE_USAGE_POSITION is 0.

# `attribute_usage_tangents`

```elixir
@spec attribute_usage_tangents() :: 2
```

mjVERTEX_ATTRIBUTE_USAGE_TANGENTS is 2.

# `attribute_usage_uv`

```elixir
@spec attribute_usage_uv() :: 3
```

mjVERTEX_ATTRIBUTE_USAGE_UV is 3.

# `to_atom`

```elixir
@spec to_atom(integer() | atom()) :: atom() | nil
```

The name behind an integer. An atom is already one.

# `to_integer`

```elixir
@spec to_integer(t() | atom()) :: integer() | nil
```

The integer behind a name. An integer is already one.

# `values`

```elixir
@spec values() :: [{atom(), integer()}]
```

Every value, as `{name, integer}`, in the order the header lists them.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
