materialComputeInputs top-level constant

List<MaterialInput> const materialComputeInputs

What a compute stage's kernel reads — version 2: the texel of its target this invocation writes, the target's size in texels, and the texel's centre as nought to one.

Implementation

const List<MaterialInput> materialComputeInputs = <MaterialInput>[
  MaterialInput('cell', ExpressionType.vec2, 'f3d_cell', since: 2),
  MaterialInput('size', ExpressionType.vec2, 'f3d_size', since: 2),
  MaterialInput('uv', ExpressionType.vec2, 'f3d_uv', since: 2),
];