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'
import type { FixedTypeBuiltinName } from 'typeshade/core/ir'

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

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 304, at commit af54ddad5

Edit this page Report a problem