RenderPipeline
Interface in Runtime
A render pipeline: a vertex entry, a fragment entry and the state, drawn with bindings by name.
import type { RenderPipeline } from 'typeshade/runtime'
The signature, the description and the examples come from the compiler's own source at commit 26de7be8.
Syntax
interface RenderPipeline { readonly vertex: string; readonly fragment: string | null; draw(pass: object, bindings: Bindings, geometry: Geometry): void;}Instance properties
vertexread onlystringfragmentread onlystring | null
Instance methods
Source
src/runtime/program.ts, line 145, at commit 26de7be8