bindingRef
On this page

bindingRef()

Function in Values

A module-level binding reference.

import { bindingRef } from 'typeshade/core/ir'

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

Syntax

function bindingRef<T extends ShaderType>(name: string, type: T): Node<KeyOf<T>>

Parameters

name string
type T extends ShaderType

Return value

Node<KeyOf<T>>

Source

src/core/ir/node.ts, line 920, at commit af54ddad5

Edit this page Report a problem