|
Blender V5.3
|
Go to the source code of this file.
Functions | |
| static bool | GHOST_XrEventPollNext (XrInstance instance, XrEventDataBuffer &r_event_data) |
| GHOST_TSuccess | GHOST_XrEventsHandle (GHOST_IXrContext *xr_contexthandle) |
|
static |
Definition at line 13 of file GHOST_XrEvent.cc.
References GHOST_XrEventPollNext().
Referenced by GHOST_XrEventPollNext(), and GHOST_XrEventsHandle().
| GHOST_TSuccess GHOST_XrEventsHandle | ( | GHOST_IXrContext * | xr_context | ) |
Invoke handling of all OpenXR events for xr_context. Should be called on every main-loop iteration and will early-exit if xr_context is nullptr (so caller doesn't have to check).
Definition at line 22 of file GHOST_XrEvent.cc.
References CLOG_INFO, GHOST_XrContext::getInstance(), GHOST_kFailure, GHOST_kSuccess, GHOST_XrContextDestroy(), GHOST_XrEventPollNext(), GHOST_XrEventsHandle(), GHOST_XrContext::handleSessionStateChange(), LOG_GHOST_XR, and CLG_LogRef::type.
Referenced by GHOST_XrEventsHandle(), and blender::wm_xr_events_handle().