add callback for RenderTexture::saveToFile
Merge pull request #7754 from dabingnn/v3_addCallBackForRenderTexture

add callback for RenderTexture::saveToFile