2D Coord to pixel index.
XY
Coord Structure
|
coord with only X and Y |
Width
Integer
|
image width for pixel array, if using a Render Target, get Size X variable from it. |
Return Value
Integer
|