Renderer · interface
DeviceGraph
Explained in Hello world.
interface DeviceGraphimport type { DeviceGraph } from '@driftengine/core';Properties
| Name | Type | Description |
|---|---|---|
inputsreadonly | readonly { readonly name: string; readonly shape: readonly number[]; }[] | |
outputsreadonly | readonly string[] | |
nodesreadonly | readonly DeviceGraphNode[] | |
tensorsreadonly | readonly { readonly name: string; readonly shape: readonly number[]; readonly data: Float32Array; }[] | |
shapesreadonly | ReadonlyMap<string, readonly number[]> | Every value's shape — inputs, tensors and intermediates — as texture's evaluator inferred it. |