Blender V5.3
wm_xr.cc File Reference
#include "BKE_context.hh"
#include "BKE_global.hh"
#include "BKE_idprop.hh"
#include "BKE_main.hh"
#include "BKE_report.hh"
#include "DNA_scene_types.h"
#include "DNA_windowmanager_types.h"
#include "ED_screen.hh"
#include "GHOST_IXrContext.hh"
#include "GHOST_Types.hh"
#include "GHOST_Xr-api.hh"
#include "GPU_context.hh"
#include "MEM_guardedalloc.h"
#include "WM_api.hh"
#include "wm_xr_intern.hh"

Go to the source code of this file.

Classes

struct  blender::wmXrErrorHandlerData

Namespaces

namespace  blender
 BMesh Iterators.

Functions

static void blender::wm_xr_error_handler (const GHOST_XrError *error)
bool blender::wm_xr_init (bContext *C)
void blender::wm_xr_exit (wmWindowManager *wm)
bool blender::wm_xr_events_handle (wmWindowManager *wm)
XR Runtime Data
wmXrRuntimeData * blender::wm_xr_runtime_data_create ()
void blender::wm_xr_runtime_data_free (wmXrRuntimeData **runtime)

Detailed Description

All XR functionality is accessed through a GHOST_XrContext handle. The lifetime of this context also determines the lifetime of the OpenXR instance, which is the representation of the OpenXR runtime connection within the application.

Definition in file wm_xr.cc.