Overlay.OnRenderImage C# (CSharp) Method

OnRenderImage() public method

public OnRenderImage ( RenderTexture source, RenderTexture destination ) : void
source RenderTexture
destination RenderTexture
return void
    public void OnRenderImage(RenderTexture source, RenderTexture destination)
    {
        // Copy the source Render Texture to the destination,
        // applying the material along the way.
        Graphics.Blit(source, destination, mat);
    }