stereo render loop
| 810 | |
| 811 | // stereo render loop |
| 812 | bool XRInterface::platformLoopStart() { |
| 813 | #if CC_USE_XR |
| 814 | // CC_LOG_INFO("[XR] platformLoopStart"); |
| 815 | if (!_isXrEntryInstanceValid) { |
| 816 | return false; |
| 817 | } |
| 818 | #if CC_USE_XR_REMOTE_PREVIEW |
| 819 | if (_xrRemotePreviewManager && !_xrRemotePreviewManager->isStarted()) { |
| 820 | _xrRemotePreviewManager->start(); |
| 821 | } |
| 822 | #endif |
| 823 | return xr::XrEntry::getInstance()->platformLoopStart(); |
| 824 | #else |
| 825 | return false; |
| 826 | #endif |
| 827 | } |
| 828 | |
| 829 | bool XRInterface::beginRenderFrame() { |
| 830 | #if CC_USE_XR |