---
title: "clip_distances: builtin value, TypeShade language reference"
description: "clip_distances, a builtin value in the TypeShade language reference. Per-vertex clip distances against the pipeline's enabled user clip planes…"
url: https://typeshade.dev/reference/builtin-values/clip_distances/
language: en
---

# `@builtin("clip_distances")`

Builtin value

Per-vertex clip distances against the pipeline's enabled user clip planes: a vertex output of `array<f32, N>` with N from 1 to 8.

**Valid in**

vertex output

The signature, the sentence and any message are the compiler's own text at commit af54ddad5.

## Syntax

`@builtin("clip_distances")`

## Description

Needs `enable clip_distances;`, which the use derives.

## Examples

- [`gallery/clip-planes/clip-planes.shade.ts`](https://typeshade.dev/guide/examples/clip-planes/)

## See also

- [Builtin values](https://typeshade.dev/reference/builtin-values/)
