Blender V4.3
GHOST_Xr.cc File Reference
#include <cassert>
#include <string>
#include "GHOST_C-api.h"
#include "GHOST_XrContext.hh"
#include "GHOST_XrException.hh"
#include "GHOST_Xr_intern.hh"

Go to the source code of this file.

Functions

GHOST_XrContextHandle GHOST_XrContextCreate (const GHOST_XrContextCreateInfo *create_info)
 
void GHOST_XrContextDestroy (GHOST_XrContextHandle xr_contexthandle)
 
void GHOST_XrErrorHandler (GHOST_XrErrorHandlerFn handler_fn, void *customdata)
 

Detailed Description

Abstraction for XR (VR, AR, MR, ..) access via OpenXR.

Definition in file GHOST_Xr.cc.

Function Documentation

◆ GHOST_XrContextCreate()

GHOST_XrContextHandle GHOST_XrContextCreate ( const GHOST_XrContextCreateInfo * create_info)

Definition at line 20 of file GHOST_Xr.cc.

References e.

Referenced by wm_xr_init().

◆ GHOST_XrContextDestroy()

void GHOST_XrContextDestroy ( GHOST_XrContextHandle xr_contexthandle)

Definition at line 38 of file GHOST_Xr.cc.

Referenced by GHOST_XrEventsHandle(), and wm_xr_runtime_data_free().

◆ GHOST_XrErrorHandler()

void GHOST_XrErrorHandler ( GHOST_XrErrorHandlerFn handler_fn,
void * customdata )

Definition at line 43 of file GHOST_Xr.cc.

References GHOST_XrContext::setErrorHandler().

Referenced by wm_xr_init().