XRTraits C++ OpenXR Utilities
Classes | Namespaces | Functions
InitXrType.h File Reference

Header providing a variety of ways to create or initialize an OpenXR "tagged struct". More...

#include "DynamicVerified.h"
#include "traits/APITraits.h"
#include <openxr/openxr.h>
#include <cstring>
#include <type_traits>
#include <vector>
Include dependency graph for InitXrType.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  xrtraits::Initialized< T >
 

Namespaces

 xrtraits
 Main namespace for these C++ OpenXR utilities.
 

Functions

template<typename T >
T * xrtraits::initXrType (T *storage)
 
template<typename T >
T * xrtraits::initXrType (void *storage)
 
template<typename T >
T * xrtraits::initXrType (T &storage)
 
template<typename T >
xrtraits::make_zeroed ()
 
template<typename T >
std::vector< T > xrtraits::make_zeroed_vector (size_t n)
 

Detailed Description

Header providing a variety of ways to create or initialize an OpenXR "tagged struct".

Author
Ryan Pavlik ryan..nosp@m.pavl.nosp@m.ik@co.nosp@m.llab.nosp@m.ora.c.nosp@m.om