@builtin("position")
On this page

@builtin("position")

Builtin value

The vertex's clip-space position (vertex output) or the fragment's window-space position (fragment input).

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

Syntax

@builtin("position"): vec4<f32>

Description

Examples

See also

Edit this page Report a problem