Check out example codes for "projection on image from camera in godot". It will help you in understanding the concepts better.

Code Example 1

var img =  camera.get_viewport().get_texture().get_data()
    var tex = ImageTexture.new()
    tex.create_from_image(img)
    get_node("c").texture = tex

Learn ReactJs, React Native from akashmittal.com