Blender
V3.3
|
#include <algorithm>
#include <cassert>
#include <chrono>
#include <cstdio>
#include <list>
#include <sstream>
#include "GHOST_C-api.h"
#include "GHOST_IXrGraphicsBinding.h"
#include "GHOST_XrAction.h"
#include "GHOST_XrContext.h"
#include "GHOST_XrControllerModel.h"
#include "GHOST_XrException.h"
#include "GHOST_XrSwapchain.h"
#include "GHOST_Xr_intern.h"
#include "GHOST_XrSession.h"
Go to the source code of this file.
Classes | |
struct | OpenXRSessionData |
struct | GHOST_XrDrawInfo |
Functions | |
State Management | |
static void | create_reference_spaces (OpenXRSessionData &oxr, const GHOST_XrPose &base_pose, bool isDebugMode) |
Drawing | |
static void | print_debug_timings (GHOST_XrDrawInfo &draw_info) |
static void | ghost_xr_draw_view_info_from_view (const XrView &view, GHOST_XrDrawViewInfo &r_info) |
Actions | |
static GHOST_XrActionSet * | find_action_set (OpenXRSessionData *oxr, const char *action_set_name) |
|
static |
Definition at line 116 of file GHOST_XrSession.cpp.
References CHECK_XR, OpenXRSessionData::combined_eye_space, OpenXRSessionData::foveation_supported, OpenXRSessionData::reference_space, result, OpenXRSessionData::session, OpenXRSessionData::view_space, and void.
Referenced by GHOST_XrSession::start().
|
static |
Definition at line 618 of file GHOST_XrSession.cpp.
References OpenXRSessionData::action_sets.
Referenced by GHOST_XrSession::applyHapticAction(), GHOST_XrSession::createActionBindings(), GHOST_XrSession::createActions(), GHOST_XrSession::destroyActionBindings(), GHOST_XrSession::destroyActions(), GHOST_XrSession::getActionCount(), GHOST_XrSession::getActionCustomdata(), GHOST_XrSession::getActionCustomdataArray(), GHOST_XrSession::getActionSetCustomdata(), GHOST_XrSession::stopHapticAction(), and GHOST_XrSession::syncActions().
|
static |
Definition at line 460 of file GHOST_XrSession.cpp.
References copy_openxr_pose_to_ghost_pose(), and view.
|
static |
Render time of last 8 frames (in ms) to calculate an average.
Definition at line 403 of file GHOST_XrSession.cpp.
References GHOST_XrDrawInfo::frame_begin_time, and GHOST_XrDrawInfo::last_frame_times.