bindingRef
On this page

bindingRef()

Function in Values

A module-level binding reference.

import { bindingRef } from 'typeshade'

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

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 1109, at commit 26de7be8

Edit this page Report a problem