This class makes it easier to worked with typed arrray used in a 2d grid.
It allow you to read from and write to a flat typed array using columns, rows
and blocks. It alow you to specify the stride per grid cell, so if you need
a grid og RGB colors, you set the stride to 3.
Another useful feature of this class is that it will use bilinear interpolation
if you reference columns and/or rows with decimal indexes.
This class makes it easier to worked with typed arrray used in a 2d grid. It allow you to read from and write to a flat typed array using columns, rows and blocks. It alow you to specify the stride per grid cell, so if you need a grid og RGB colors, you set the stride to 3.
Another useful feature of this class is that it will use bilinear interpolation if you reference columns and/or rows with decimal indexes.