VTK
9.4.20250204
|
Load OpenXR extensions for the defined graphics backend. More...
Go to the source code of this file.
Classes | |
struct | xr::GraphicsExtensionDispatchTable |
Namespaces | |
namespace | xr |
Macros | |
#define | FOR_EACH_WIN32_EXTENSION_FUNCTION(_) |
#define | FOR_EACH_D3D11_EXTENSION_FUNCTION(_) |
#define | FOR_EACH_OPENGL_EXTENSION_FUNCTION(_) |
#define | FOR_EACH_EXTENSION_FUNCTION(_) |
#define | GET_INSTANCE_PROC_ADDRESS(name) |
#define | DEFINE_PROC_MEMBER(name) PFN_##name name{ nullptr }; |
Load OpenXR extensions for the defined graphics backend.
Provides the GraphicsExtensionDispatchTable struct to load platform-specific extensions at runtime for the current XrInstance. XR_USE_GRAPHICS_API_D3D11 and/or XR_USE_GRAPHICS_API_OPENGL must be defined prior to including this header to enable the expected graphics backend.
File adapted from: https://github.com/microsoft/MixedReality-HolographicRemoting-Samples/blob/f6b55479646bda3bffea58bb3e9c9d9c5e0ab177/remote_openxr/desktop/XrUtility/XrExtensions.h
Definition in file XrGraphicsExtensions.h.
#define FOR_EACH_WIN32_EXTENSION_FUNCTION | ( | _ | ) |
Definition at line 27 of file XrGraphicsExtensions.h.
#define FOR_EACH_D3D11_EXTENSION_FUNCTION | ( | _ | ) |
Definition at line 33 of file XrGraphicsExtensions.h.
#define FOR_EACH_OPENGL_EXTENSION_FUNCTION | ( | _ | ) |
Definition at line 39 of file XrGraphicsExtensions.h.
#define FOR_EACH_EXTENSION_FUNCTION | ( | _ | ) |
Definition at line 42 of file XrGraphicsExtensions.h.
#define GET_INSTANCE_PROC_ADDRESS | ( | name | ) |
Definition at line 47 of file XrGraphicsExtensions.h.
#define DEFINE_PROC_MEMBER | ( | name | ) | PFN_##name name{ nullptr }; |
Definition at line 50 of file XrGraphicsExtensions.h.