---
title: "IntrinsicTarget: type in Backends, TypeShade API reference"
description: "IntrinsicTarget, a type in Backends. The emit target that spellIntrinsic and the INTRINSICS table spell for: 'wgsl' or 'glsl'."
url: https://typeshade.dev/api/intrinsictarget/
language: en
---

# `IntrinsicTarget`

Type in Backends

The emit target that spellIntrinsic and the INTRINSICS table spell for: 'wgsl' or 'glsl'.

`import type { IntrinsicTarget } from 'typeshade'`

The signature, the description and the examples come from the compiler's own source at commit af54ddad5.

## Syntax

```ts
type IntrinsicTarget = 'wgsl' | 'glsl';
```

## Description

The value names a column of the registry only; a backend identifies itself separately through `Backend.id`, and the GLSL backend’s id is `'glsl-es300'`. A third writer (SPIR-V, MSL) would add a new column to every registry entry and a new case in `spellIntrinsic`.

## See also

- [`spellIntrinsic`](https://typeshade.dev/api/spellintrinsic/)
- [`INTRINSICS`](https://typeshade.dev/api/intrinsics/)

## Source

[`src/core/intrinsics.ts`, line 21](https://github.com/typeshade/typeshade/blob/af54ddad5/src/core/intrinsics.ts#L21), at commit af54ddad5
