# IncludeReader

type in `@dioramajs/glsl/convert`

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

Gets the spec as written and the absolute path of the including file.

```ts
type IncludeReader = (spec: string, from: string) => IncludeResult
```

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