I know, but the red area which I marked would be changed after the player is moving every frame. I need to render the changing every frame in another place.
And I can use "g3d->SetRenderTarget()" also?
Yes, doing this every frame is no problem. It will be a HUGE deal faster then doing it one pixel at a time.