# glslEntries

function in `@dioramajs/glsl/entries`

```ts
import { glslEntries } from '@dioramajs/glsl/entries'
```

Turns `import.meta.glob('./effects/*.frag', { query: '?entry', import: 'default', eager: true })`
into a registry keyed by effect name. A `.vert` with the same stem as a `.frag` belongs to that
effect and gets no key of its own. Two files that map to one name throw.

```ts
function glslEntries(modules: { [path: string]: EffectEntry }): EffectEntries
```

| Parameter | Type | Description |
| --- | --- | --- |
| `modules` | `{ [path: string]: EffectEntry }` |  |

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