How to write render target in texture/material, SetMaterialTexture doesn't exist anymore?

Hello everyone.
I’m trying to create cameras.
At first, I decided to do on the basis of RT Camera, it can only use one … I tried to use this:
This method is used SetMaterialTexture, who does not want to work in the GM13, who knows what to use ?

SetMaterialTexture is now SetTexture

Robotboy655, thanks