Blender  V3.3
Classes | Functions
wm_xr.c File Reference
#include "BKE_global.h"
#include "BKE_idprop.h"
#include "BKE_main.h"
#include "BKE_report.h"
#include "DEG_depsgraph.h"
#include "DNA_scene_types.h"
#include "DNA_windowmanager_types.h"
#include "ED_screen.h"
#include "GHOST_C-api.h"
#include "GPU_platform.h"
#include "MEM_guardedalloc.h"
#include "WM_api.h"
#include "wm_surface.h"
#include "wm_xr_intern.h"

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)
 
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.c.

Function Documentation

◆ wm_xr_error_handler()

static void wm_xr_error_handler ( const GHOST_XrError *  error)
static

◆ wm_xr_events_handle()

bool wm_xr_events_handle ( wmWindowManager wm)

◆ wm_xr_exit()

void wm_xr_exit ( wmWindowManager wm)

◆ wm_xr_init()

bool wm_xr_init ( wmWindowManager wm)

◆ wm_xr_runtime_data_create()

wmXrRuntimeData* wm_xr_runtime_data_create ( void  )

Definition at line 144 of file wm_xr.c.

References MEM_callocN.

Referenced by wm_xr_init().

◆ wm_xr_runtime_data_free()

void wm_xr_runtime_data_free ( wmXrRuntimeData **  runtime)