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

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

See also

Edit this page Report a problem