DriftTexture · interface
GraphBuilder
Explained in DriftTexture.
interface GraphBuilderimport type { GraphBuilder } from '@driftengine/texture';Methods
node
node(op: string, inputs: readonly string[], attributes?: Attributes, output?: string): stringA node; its output is named output when given, and otherwise by the builder.
| Parameter | Type | Description |
|---|---|---|
op | string | |
inputs | readonly string[] | |
attributes? | Attributes | |
output? | string |