EntryParam
Interface in IR
An entry-point parameter: it carries a @builtin(...) or a @location(n).
import type { EntryParam } from 'typeshade'import type { EntryParam } from 'typeshade/core/ir'
The signature, the description and the examples come from the compiler's own source at commit af54ddad5.
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/entry-and-directive.ts, line 15, at commit af54ddad5