as we all know, we can set the pixels of a texture2d-object by calling
.SetData<T>(...) and uploading an arbitrary array of pixel-data, let’s call it M.
Let’s say I want to modify four elements of array M (four because I want to modify a single pixel, i.e. four different channels r, g, b, a) beginning at index = x * 4 + y * 4 * Width.
Is it now possible to upload these 4 modified pixel-data only, beginning from index (x *4 + y * 4 * Width) up to (index + 4)?
Or do I have to upload the whole pixel-data-array (several thousands bytes) after each pixel-update?