Blender  V3.3
Functions
GHOST_Xr.cpp File Reference
#include <cassert>
#include <string>
#include "GHOST_C-api.h"
#include "GHOST_XrContext.h"
#include "GHOST_XrException.h"
#include "GHOST_Xr_intern.h"

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.cpp.

Function Documentation

◆ GHOST_XrContextCreate()

GHOST_XrContextHandle GHOST_XrContextCreate ( const GHOST_XrContextCreateInfo *  create_info)

Definition at line 18 of file GHOST_Xr.cpp.

References e.

Referenced by wm_xr_init().

◆ GHOST_XrContextDestroy()

void GHOST_XrContextDestroy ( GHOST_XrContextHandle  xr_contexthandle)

Definition at line 36 of file GHOST_Xr.cpp.

Referenced by GHOST_XrEventsHandle(), and wm_xr_runtime_data_free().

◆ GHOST_XrErrorHandler()

void GHOST_XrErrorHandler ( GHOST_XrErrorHandlerFn  handler_fn,
void customdata 
)

Definition at line 41 of file GHOST_Xr.cpp.

References GHOST_XrContext::setErrorHandler().

Referenced by wm_xr_init().