Renderer · type
DeviceAttribute
A network graph as the device runs it: the structure @driftengine/texture validated, and the
shape of every value it inferred.
Explained in Hello world.
type DeviceAttribute = number | string | boolean | readonly number[]import type { DeviceAttribute } from '@driftengine/core';In depth
Structural rather than imported, because @driftengine/core does not depend on
@driftengine/texture — texture peers on core, and the arrow cannot run both ways. A caller that
holds both validates with texture and hands the result here; DTEX and the world's distance
field cross the same boundary the same way. The shapes are given, not inferred again: a
second copy of every operator's shape rule is the copy that drifts.