materialBuiltinVersions top-level constant

Map<String, int> const materialBuiltinVersions

The language version each of materialBuiltins arrived in, by name: all sixteen are version 1's. A builtin a later version adds is written here with that version, and a source of an older one neither calls it nor has the name taken from a let or a parameter of its own.

Implementation

const Map<String, int> materialBuiltinVersions = <String, int>{
  'dot': 1,
  'length': 1,
  'normalize': 1,
  'mix': 1,
  'clamp': 1,
  'smoothstep': 1,
  'step': 1,
  'pow': 1,
  'min': 1,
  'max': 1,
  'abs': 1,
  'sqrt': 1,
  'floor': 1,
  'fract': 1,
  'sin': 1,
  'cos': 1,
};