change metal texture which is from pixel buffer(in camera sample callback function)

Hi, all

I change the content of metal texture which from cvpixelbuffer, i found texture is changed, but cvpixelbuffer is not.

And the cvpixelbuffer is from camera sample buffer one by one frame.

So what is wrong with it?