Set the int value of the sample at the coordinates x,y for INT and UINT slices.
x
y
INT
UINT
void setInt(int x, int y, int v) { final pi = y * width + x; data[pi] = v; }