I’m getting the attached message with the following code when trying to set a render target as a material parameter:

I’m getting the attached message with the following code when trying to set a render target as a material parameter:

Line 52 is correct?