BindingsOf
Type in Runtime
The bindings entry K of the manifest P reaches, as a draw or a dispatch passes them: BindingsOf<typeof mesh, 'vs'>.
import type { BindingsOf } from 'typeshade/runtime'
The signature, the description and the examples come from the compiler's own source at commit af54ddad5.
Syntax
type BindingsOf<P extends Pack, K extends string> = P extends Pack<infer E> ? (K extends keyof E ? E[K] : never) : never;Description
An untyped manifest gives Bindings.
See also
Source
src/runtime/program.ts, line 393, at commit af54ddad5