# IncludeResult

type in `@dioramajs/glsl/convert`

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

What an include reader returns: the code, the code with its path, or nothing.

```ts
type IncludeResult = string | { readonly code: string; readonly path: string } | undefined
```

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