EntryParam
On this page

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 only string
typeread only ShaderType
builtinoptionalread only string
locationoptionalread only number

Source

src/core/ir/nodes.ts, line 933, at commit 26de7be8

Edit this page Report a problem