FixedTypeBuiltinName
On this page

FixedTypeBuiltinName

Type in Layout

The WgslBuiltinName ids whose type WGSL fixes, every id except clip_distances, whose array<f32, N> length the author picks.

import type { FixedTypeBuiltinName } from 'typeshade'

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

Syntax

type FixedTypeBuiltinName = keyof typeof WGSL_BUILTIN_TYPES;

Description

A builtin call naming one of these may omit the type token.

See also

Source

src/core/sot.ts, line 297, at commit 26de7be8

Edit this page Report a problem