Monado OpenXR Runtime
oxr_chain.h File Reference

Utilities for accessing members in an OpenXR structure chain. More...

Include dependency graph for oxr_chain.h:

Go to the source code of this file.

Macros

#define OXR_GET_INPUT_FROM_CHAIN(PTR, STRUCTURE_TYPE_ENUM, TYPE)    ((TYPE const *)oxr_find_input_in_chain(PTR, STRUCTURE_TYPE_ENUM))
 Finds an input struct of the given type in a next-chain and casts it as desired. More...
 
#define OXR_GET_OUTPUT_FROM_CHAIN(PTR, STRUCTURE_TYPE_ENUM, TYPE)    ((TYPE *)oxr_find_output_in_chain(PTR, STRUCTURE_TYPE_ENUM))
 Finds an output struct of the given type in a next-chain and casts it as desired. More...
 

Functions

static XrBaseInStructure const * oxr_find_input_in_chain (const void *ptr, XrStructureType desired)
 Finds an input struct of the given type in a next-chain. More...
 
static XrBaseOutStructure * oxr_find_output_in_chain (const void *ptr, XrStructureType desired)
 Finds an output struct of the given type in a next-chain. More...
 

Detailed Description

Utilities for accessing members in an OpenXR structure chain.

Author
Rylie Pavlik rylie.nosp@m..pav.nosp@m.lik@c.nosp@m.olla.nosp@m.bora..nosp@m.com