DriftTexture · const

MAX_REGISTERS

Registers the interpreter has, each a four-component vector.

Explained in DriftTexture.

const MAX_REGISTERS = 16
import { MAX_REGISTERS } from '@driftengine/texture';

In depth

A budget rather than a limit discovered on one device: a graph that needs more is refused at encode time, where a person can see it, rather than compiling to a shader that fails on the hardware with the smallest uniform space.