I have some code like this:
readonly Rect WORK_SOURCE_RECT = new Rect(0f, 0f, 1f, 1f); Color[] workPixels; void Start() { Texture2D workTexture = new Texture2D