DriftTexture · interface

DecodeResources

Explained in DriftTexture.

interface DecodeResources
import type { DecodeResources } from '@driftengine/texture';

Properties

NameTypeDescription
latentsreadonly LatentImage[]
blocksreadonly LatentImage[]
networksreadonly { shape: NetworkShape; weights: Float32Array; }[]
constantsoptionalFloat32ArrayFour floats per slot, for CONSTANT.
More

Optional, so every caller written before Wave 4C still type-checks and still runs — a graph with no constant in it never reads this.