Just the ordinary way render textures work in Unity. Set up a camera, create a render texture, assign the camera to render into this render texture. Everything drawn by this camera will be in the render texture that you can then draw using a UITexture. Check Unity's docs on how to create and use render textures.