Renderer · interface

WindStreakHandle

A wind-streak lattice on the device. Opaque for the reason MeshHandle explains.

Explained in Hello world.

interface WindStreakHandle
import type { WindStreakHandle } from '@driftengine/core';

In depth

strengthFor does not survive the widening, and that is deliberate. It is on WindStreakRenderer so a caller can size its own budget against the same ramp the draw uses; naming it here would oblige every backend to carry a method rather than a lattice. The ramp itself is windStreakStrength in windStreakDraw.ts, which a consumer can call with the thresholds it chose and which is the one both backends draw with.