Blender  V3.3
Classes
GHOST_XrContext.cpp File Reference
#include <algorithm>
#include <cassert>
#include <sstream>
#include <string>
#include <string_view>
#include "GHOST_Types.h"
#include "GHOST_XrException.h"
#include "GHOST_XrSession.h"
#include "GHOST_Xr_intern.h"
#include "GHOST_XrContext.h"

Go to the source code of this file.

Classes

struct  OpenXRInstanceData
 

Functions

Debug Printing
static XrBool32 debug_messenger_func (XrDebugUtilsMessageSeverityFlagsEXT, XrDebugUtilsMessageTypeFlagsEXT, const XrDebugUtilsMessengerCallbackDataEXT *callbackData, void *)
 
OpenXR API-Layers and Extensions
static bool openxr_layer_is_available (const std::vector< XrApiLayerProperties > &layers_info, const std::string &layer_name)
 
static bool openxr_extension_is_available (const std::vector< XrExtensionProperties > &extensions_info, const std::string_view &extension_name)
 
static const char * openxr_ext_name_from_wm_gpu_binding (GHOST_TXrGraphicsBinding binding)
 

Detailed Description

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

Definition in file GHOST_XrContext.cpp.

Function Documentation

◆ debug_messenger_func()

static XrBool32 debug_messenger_func ( XrDebugUtilsMessageSeverityFlagsEXT  ,
XrDebugUtilsMessageTypeFlagsEXT  ,
const XrDebugUtilsMessengerCallbackDataEXT *  callbackData,
void  
)
static

Definition at line 188 of file GHOST_XrContext.cpp.

◆ openxr_ext_name_from_wm_gpu_binding()

static const char* openxr_ext_name_from_wm_gpu_binding ( GHOST_TXrGraphicsBinding  binding)
static

Definition at line 381 of file GHOST_XrContext.cpp.

◆ openxr_extension_is_available()

static bool openxr_extension_is_available ( const std::vector< XrExtensionProperties > &  extensions_info,
const std::string_view &  extension_name 
)
static

Definition at line 346 of file GHOST_XrContext.cpp.

◆ openxr_layer_is_available()

static bool openxr_layer_is_available ( const std::vector< XrApiLayerProperties > &  layers_info,
const std::string &  layer_name 
)
static

Definition at line 334 of file GHOST_XrContext.cpp.