Renderer · interface
GpuDrivenProgram
Explained in Hello world.
interface GpuDrivenProgramimport type { GpuDrivenProgram } from '@driftengine/core';Properties
| Name | Type | Description |
|---|---|---|
graphreadonly | { readonly nodes: Uint32Array; readonly count: number; readonly result: number; readonly addressMode: number; } | |
latentsreadonly | readonly GpuDrivenLatent[] | |
blocksreadonlyoptional | readonly GpuDrivenLatent[] | |
networksreadonly | readonly GpuDrivenNetwork[] | |
constantsreadonlyoptional | Float32Array | Four floats a slot, for CONSTANT. |