# ChunkValidation

Interface · category: Other

Source: https://github.com/playcanvas/engine/blob/970d89f6d3bc6667f4e1f88153abd6e7e82ed52c/src/scene/shader-lib/shader-chunk-map.js#L5

## Properties

### callback

```ts
callback?: (arg0: string, arg1: string) => void
```

Validation callback receiving chunk name and code.

### defaultCodeGLSL

```ts
defaultCodeGLSL?: string
```

Default GLSL code. If matches, no warning.

### defaultCodeWGSL

```ts
defaultCodeWGSL?: string
```

Default WGSL code. If matches, no warning.

### message

```ts
message?: string
```

Deprecation message to display.
