how to copy the freshly rendering texture resource back to the render target RHI

hi
I have read Scripted Textures code.
link:https://github.com/EpicGames/UnrealEngine/pull/24/
I want to print text on texture.but i don’t know how to use this code,I just copy it to my project properly.
Other code works well expect the one

    // Enqueue the rendering command to copy the freshly rendering texture resource back to the render target RHI 
    // so that the scripted texture is updated and available for rendering.
    ENQUEUE_UNIQUE_RENDER_COMMAND_ONEPARAMETER
    	(
    		ScriptedTextureRenderTargetResolveCommand,
    		FTextureRenderTargetResource*,
    		RenderTargetResource,
    		GameThread_GetRenderTargetResource(),
    		{
    			RHICopyToResolveTarget(RenderTargetResource->GetRenderTargetTexture(), RenderTargetResource->TextureRHI, true, FResolveParams());
    		}
    	);

I have added “RHI”, “RenderCore” on bulid.cs file.And including be need all of files.
And then bulid project
Cannot recognize RHICopyToResolveTarget,GameThread_GetRenderTargetResource
Beacause i don’t konw how the ENQUEUE_UNIQUE_RENDER_COMMAND_ONEPARAMETER works,
So i couldn’t finish it.
Thanks in advance!

Is there anybody know about it.Plealse help me!