# convertParts

function in `@dioramajs/glsl/convert`

```ts
import { convertParts } from '@dioramajs/glsl/convert'
```

Like `convert`, with the module also split into parts.

```ts
function convertParts(source: string, options?: ConvertOptions): Converted
```

| Parameter | Type | Description |
| --- | --- | --- |
| `source` | `string` |  |
| `options?` | `ConvertOptions` |  |

Throws With every error diagnostic of the stage.

Defined in [packages/glsl/src/convert/index.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/glsl/src/convert/index.ts#L113).
