private void PollPixels() { int x, y; while (textureHandler.ContainsDirtyPixels) { textureHandler.GetDirtyPixel(out x, out y); PollPixel(new Vector2Int(x, y)); } textureHandler.Apply(); }
private void PollPixels() { int x, y; while (textureHandler.ContainsDirtyPixels) { textureHandler.GetDirtyPixel(out x, out y); PollPixel(new Vector2Int(x, y)); } textureHandler.Apply(); }