initializeEmpty method

void initializeEmpty(
  1. int rows,
  2. int columns
)

Initialize the mirror grid to an empty viewport. Useful at startup so the first paint pass doesn't show a stale grid before the first damage arrives. The mirror is then resized on the first apply.

Implementation

void initializeEmpty(int rows, int columns) =>
    _grid.initializeEmpty(rows, columns);