示例#1
0
    private void PollPixels()
    {
        int x, y;

        while (textureHandler.ContainsDirtyPixels)
        {
            textureHandler.GetDirtyPixel(out x, out y);

            PollPixel(new Vector2Int(x, y));
        }

        textureHandler.Apply();
    }