XRTraits C++ OpenXR Utilities
|
Header defining unique_ptr-based RAII types for OpenXR handles. More...
#include <openxr/openxr.h>
#include <memory>
#include <type_traits>
Go to the source code of this file.
Namespaces | |
xrtraits | |
Main namespace for these C++ OpenXR utilities. | |
Typedefs | |
using | xrtraits::UniqueInstance = std::unique_ptr< std::remove_pointer_t< XrInstance >, handle_destroyers::OpenXRHandleDestroyer > |
Scoped RAII pointer type wrapping XrInstance. More... | |
using | xrtraits::UniqueSession = std::unique_ptr< std::remove_pointer_t< XrSession >, handle_destroyers::OpenXRHandleDestroyer > |
Scoped RAII pointer type wrapping XrSession. More... | |
using | xrtraits::UniqueSwapchain = std::unique_ptr< std::remove_pointer_t< XrSwapchain >, handle_destroyers::OpenXRHandleDestroyer > |
Scoped RAII pointer type wrapping XrSwapchain. More... | |
using | xrtraits::UniqueAction = std::unique_ptr< std::remove_pointer_t< XrAction >, handle_destroyers::OpenXRHandleDestroyer > |
Scoped RAII pointer type wrapping XrAction. More... | |
using | xrtraits::UniqueActionSet = std::unique_ptr< std::remove_pointer_t< XrActionSet >, handle_destroyers::OpenXRHandleDestroyer > |
Scoped RAII pointer type wrapping XrActionSet. More... | |
using | xrtraits::UniqueSpace = std::unique_ptr< std::remove_pointer_t< XrSpace >, handle_destroyers::OpenXRHandleDestroyer > |
Scoped RAII pointer type wrapping XrSpace. More... | |
Header defining unique_ptr-based RAII types for OpenXR handles.