#include <openxr/openxr.h>
#include <openxr/openxr_reflection.h>
#include <openxr/openxr_platform.h>
#include <string>
Go to the source code of this file.
|
namespace | xr |
| The xr::DispatchTable struct contains all available PFN pointers to xr functions including those in all extensions. The application should call dispatchTable.Initialize() once creating a new XrInstance to initialize all function pointers. The application should reset the dispatch table by = {} when destroying the instance handle.
|
|
◆ ENUM_CASE_STR
#define ENUM_CASE_STR |
( |
| name, |
|
|
| val ) case name: return #name; |
◆ MAKE_TO_CSTRING_FUNC
#define MAKE_TO_CSTRING_FUNC |
( |
| enumType | ) |
|
Value: constexpr const char* ToCString(enumType e) noexcept { \
switch (e) { \
default: return "Unknown " #enumType; \
} \
}
#define ENUM_CASE_STR(name, val)
Definition at line 17 of file XrToString.h.
◆ MAKE_TO_STRING_FUNC
#define MAKE_TO_STRING_FUNC |
( |
| enumType | ) |
|
Value: inline std::string ToString(enumType e) { \
switch (e) { \
default: return std::to_string(e); \
} \
}
Definition at line 26 of file XrToString.h.
◆ MAKE_TO_STRING_FUNCS
#define MAKE_TO_STRING_FUNCS |
( |
| enumType | ) |
|
Value:
MAKE_TO_STRING_FUNC(enumType)
#define MAKE_TO_CSTRING_FUNC(enumType)
Definition at line 34 of file XrToString.h.