![]() ![]() ![]() Program -> CreateSwapchains() // 调用xrCreateSwapchain(m_session, &swapchainCreateInfo, & swapchain.handle) Program -> InitializeSession() // 调用xrCreateSession(m_instance, &createInfo, &m_ session),然后InitializeActions->xrAttachSessionActionSets(m_session, &attachInfo) Program -> InitializeSystem() // 调用graphicsPlugin:m_graphicsPlugin->InitializeDevice(m_instance, m_ systemId) 获取 systemId Program -> CreateInstance() // 调用 loader 的xrCreateInstance(& createInfo, &m_instance) XrInstanceCreateInfoAndroidKHR instanceCreateInfoAndroid // 初始化先设置vm、activity Option ( BUILD_LOADER "Build loader" OFF )Īdd_library ( openxr_loader SHARED IMPORTED )Ĭ : // OpenXRMobileSDK / OpenXR / Libs / Android / $ Option ( BUILD_LOADER "Build loader" ON ) Oculus不支持标准的openxr的loader,需要下载ovr_openxr_mobile_sdk,取出对应的loader,/OpenXR/Libs/Android/ in SDK package ĭownload the Oculus OpenXR Mobile SDK Downloads page. GitHub - KhronosGroup/OpenXR-SDK-Source: Sources for OpenXR loader, basic API layers, and example code. ![]() The OpenXR™ Software Development Kit (SDK) Sources Project contains the hello_xr
0 Comments
Leave a Reply. |