Skyscraper 2.0
XrDispatchTable.h File Reference
#include <XrUtility/XrPlatformDependencies.h>
#include <openxr/openxr.h>
#include <openxr/openxr_platform.h>
#include <openxr/openxr_reflection.h>
#include "XrListFunctions.h"
Include dependency graph for XrDispatchTable.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  xr::DispatchTable
 

Namespaces

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.
 

Macros

#define XR_DISPATCH_TABLE_MEMBER(name)   PFN_##name name{nullptr};
 
#define XR_DISPATCH_TABLE_MEMBER_VOID(name)   PFN_xrVoidFunction name{nullptr};
 
#define XR_DISPATCH_TABLE_GET_PROC_ADDRESS(name)   name = reinterpret_cast<PFN_##name>(getFunctionPointer(#name));
 
#define XR_DISPATCH_TABLE_SET_NO_OP(name)
 

Macro Definition Documentation

◆ 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};

Definition at line 26 of file XrDispatchTable.h.

◆ XR_DISPATCH_TABLE_MEMBER_VOID

#define XR_DISPATCH_TABLE_MEMBER_VOID ( name)    PFN_xrVoidFunction name{nullptr};

Definition at line 27 of file XrDispatchTable.h.

◆ XR_DISPATCH_TABLE_SET_NO_OP

#define XR_DISPATCH_TABLE_SET_NO_OP ( name)