readInclude function
Default include reader: relative to the including file, then as a package path.
import { readInclude } from '@dioramajs/glsl/convert'function readInclude(spec: string, from: string): IncludeResultParameters
| Name | Type | Description |
|---|---|---|
spec | string | |
from | string |
Defined in packages/glsl/src/convert/index.ts.