#include <XrUtility/XrPlatformDependencies.h>
#include <openxr/openxr.h>
#include <openxr/openxr_platform.h>
#include <openxr/openxr_reflection.h>
#include "XrListFunctions.h"
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.
|
|
◆ XR_DISPATCH_TABLE_GET_PROC_ADDRESS
#define XR_DISPATCH_TABLE_GET_PROC_ADDRESS |
( |
| name | ) |
name = reinterpret_cast<PFN_##name>(getFunctionPointer(#name)); |
◆ XR_DISPATCH_TABLE_MEMBER
#define XR_DISPATCH_TABLE_MEMBER |
( |
| name | ) |
PFN_##name name{nullptr}; |
◆ XR_DISPATCH_TABLE_MEMBER_VOID
#define XR_DISPATCH_TABLE_MEMBER_VOID |
( |
| name | ) |
PFN_xrVoidFunction name{nullptr}; |
◆ XR_DISPATCH_TABLE_SET_NO_OP
#define XR_DISPATCH_TABLE_SET_NO_OP |
( |
| name | ) |
|