EntryParam
Interface in IR
An entry-point parameter: it carries a @builtin(...) or a @location(n).
import type { EntryParam } from 'typeshade'
The signature, the description and the examples come from the compiler's own source at commit 26de7be8.
Syntax
interface EntryParam { readonly name: string; readonly type: ShaderType; readonly builtin?: string; readonly location?: number;}Instance properties
nameread onlystringtyperead onlyShaderTypebuiltinoptionalread onlystringlocationoptionalread onlynumber
Source
src/core/ir/nodes.ts, line 933, at commit 26de7be8