| 953 | } |
| 954 | |
| 955 | bool XRInterface::platformLoopEnd() { |
| 956 | #if CC_USE_XR |
| 957 | if (!_isXrEntryInstanceValid) { |
| 958 | return false; |
| 959 | } |
| 960 | return xr::XrEntry::getInstance()->platformLoopEnd(); |
| 961 | #else |
| 962 | return false; |
| 963 | #endif |
| 964 | } |
| 965 | // stereo render loop |
| 966 | |
| 967 | ccstd::vector<float> XRInterface::getHMDViewPosition(uint32_t eye, int trackingType) { |