Blender V4.3
wm_xr.cc File Reference
#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_C-api.h"
#include "MEM_guardedalloc.h"
#include "WM_api.hh"
#include "wm_xr_intern.hh"

Go to the source code of this file.

Classes

struct  wmXrErrorHandlerData
 

Functions

static void wm_xr_error_handler (const GHOST_XrError *error)
 
bool wm_xr_init (wmWindowManager *wm)
 
void wm_xr_exit (wmWindowManager *wm)
 
bool wm_xr_events_handle (wmWindowManager *wm)
 
XR Runtime Data
wmXrRuntimeDatawm_xr_runtime_data_create ()
 
void 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.

Function Documentation

◆ wm_xr_error_handler()

◆ wm_xr_events_handle()

◆ wm_xr_exit()

◆ wm_xr_init()

◆ wm_xr_runtime_data_create()

wmXrRuntimeData * wm_xr_runtime_data_create ( )

Definition at line 149 of file wm_xr.cc.

References MEM_callocN.

Referenced by wm_xr_init().

◆ wm_xr_runtime_data_free()