# TextureBakeSettings

> Human Generator for Blender documentation. Web version: https://humgen3d.com/docs/api/texturebakesettings

Reached as: `human.process.settings.textures`

Inherits from: [Settings](https://humgen3d.com/docs/api/settings)

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/process/settings.py#L300

Baking of the materials to textures, see textures.py.

## Attributes

### enabled

```python
human.process.settings.textures.enabled: bool
```

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/process/settings.py#L305

### resolution

```python
human.process.settings.textures.resolution: Dict[str, int]
```

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/process/settings.py#L306

### passes

```python
human.process.settings.textures.passes: Dict[str, List[str]]
```

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/process/settings.py#L315

### file_format

```python
human.process.settings.textures.file_format: str
```

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/process/settings.py#L324

### workflow

```python
human.process.settings.textures.workflow: str
```

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/process/settings.py#L325

### normal_map

```python
human.process.settings.textures.normal_map: str
```

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/process/settings.py#L326

### pack_hair_alpha

```python
human.process.settings.textures.pack_hair_alpha: bool
```

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/process/settings.py#L327

### haircap_in_skin

```python
human.process.settings.textures.haircap_in_skin: bool
```

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/process/settings.py#L330

### samples

```python
human.process.settings.textures.samples: int
```

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/process/settings.py#L331

## Methods

### set_resolution_tier()

```python
human.process.settings.textures.set_resolution_tier(tier: str)
```

Sets the resolution of every texture set to a tier, "4k", "2k", "1k" or "512".

Parameters:
- `tier` (str)

Raises: ValueError — If the tier does not exist.

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/process/settings.py#L333

### to_dict()

```python
human.process.settings.textures.to_dict() -> Dict[str, Any]
```

*inherited from Settings*

The settings as plain dict, nested settings included.

Returns: Dict[str, Any]

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/process/settings.py#L177

### from_dict()

```python
TextureBakeSettings.from_dict(data: Dict[str, Any]) -> T
```

*class method, inherited from Settings*

Settings from a dict, missing fields get their default.

Unknown keys are logged and ignored, so recipes of a newer version still
load as far as possible.

Parameters:
- `data` (Dict[str, Any])

Returns: T

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/process/settings.py#L181

### copy()

```python
human.process.settings.textures.copy() -> T
```

*inherited from Settings*

A deep copy.

Returns: T

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/process/settings.py#L190
