DriftTexture · function

encodeDecodeGraph

count, result, addressMode, then the nodes.

Explained in DriftTexture.

function encodeDecodeGraph(graph: DecodeGraph): Uint8Array
import { encodeDecodeGraph } from '@driftengine/texture';

Parameters

ParameterTypeDescription
graphDecodeGraph