# GlslCode

type in `@dioramajs/diorama/glsl`

```ts
import type { GlslCode } from '@dioramajs/diorama/glsl'
```

Codes of conversion diagnostics: errors, warnings and notes.

```ts
type GlslCode = 'GLSL_SYNTAX' | 'GLSL_NO_ENTRY' | 'GLSL_INCLUDE' | 'GLSL_GLSLIFY' | 'GLSL_OUTPUT' | 'GLSL_INOUT' | 'GLSL_EARLY_RETURN' | 'GLSL_ARRAY' | 'GLSL_GLOBAL_STATE' | 'GLSL_SAMPLER' | 'GLSL_UNIFORM_TYPE' | 'GLSL_UNSUPPORTED_TYPE' | 'GLSL_NAME_CLASH' | 'GLSL_STAGE' | 'GLSL_VERTEX' | 'GLSL_UNKNOWN_IDENTIFIER' | 'GLSL_UNKNOWN_FUNCTION' | 'GLSL_TRANSPILER' | 'GLSL_TEXTURE' | 'GLSL_PRAGMA' | 'GLSL_UNUSED' | 'GLSL_MOUSE' | 'GLSL_LOD' | 'GLSL_PARAM_DEFAULT' | 'GLSL_PARAM_RESERVED' | 'GLSL_VARYING_WRITE' | 'GLSL_THREE_REVISION' | 'GLSL_SEMANTICS' | 'GLSL_TOVAR' | 'GLSL_SINGLE_EXIT' | 'GLSL_RENAMED' | 'GLSL_COVER' | 'GLSL_FRAGCOORD' | 'GLSL_ANIMATE'
```

Also exported from `@dioramajs/glsl`, `@dioramajs/glsl/convert`.

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