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

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

# `t`

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

# `emissive`

```elixir
@spec emissive() :: 7
```

mjTEXROLE_EMISSIVE is 7.

# `metallic`

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

mjTEXROLE_METALLIC is 4.

# `mjntexrole`

```elixir
@spec mjntexrole() :: 10
```

mjNTEXROLE is 10.

# `normal`

```elixir
@spec normal() :: 5
```

mjTEXROLE_NORMAL is 5.

# `occlusion`

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

mjTEXROLE_OCCLUSION is 2.

# `opacity`

```elixir
@spec opacity() :: 6
```

mjTEXROLE_OPACITY is 6.

# `orm`

```elixir
@spec orm() :: 9
```

mjTEXROLE_ORM is 9.

# `rgb`

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

mjTEXROLE_RGB is 1.

# `rgba`

```elixir
@spec rgba() :: 8
```

mjTEXROLE_RGBA is 8.

# `roughness`

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

mjTEXROLE_ROUGHNESS 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.

# `user`

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

mjTEXROLE_USER is 0.

# `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*
