@builtin("clip_distances")
On this page

@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.

The signature and the sentence under each name are the compiler's own text at commit 26de7be8.

Syntax

@builtin("clip_distances")

Description

Needs enable clip_distances;, which the use derives.

Examples

See also

Edit this page Report a problem