Capture photos while using camera as texture?

Is there anyway to capture photos while using the camera as a texture?  Basically, I want to create my own camera display as I’ve done in the past natively in iOS and Android.