Monado OpenXR Runtime
m_permutation.h File Reference

Code to generate permutation of indices. More...

#include "xrt/xrt_compiler.h"
Include dependency graph for m_permutation.h:

Go to the source code of this file.

Data Structures

struct  m_permutator
 

Functions

bool m_permutator_step (struct m_permutator *mp, uint32_t *out_elements, uint32_t num_elements)
 Returns false if there are no new permutation available, the only thing you need to do before calling this function is to make sure that the struct has been zero initialised. More...
 
void m_permutator_reset (struct m_permutator *mp)
 
void m_do_the_thing (void)
 

Detailed Description

Code to generate permutation of indices.

Author
Jakob Bornecrantz jakob.nosp@m.@col.nosp@m.labor.nosp@m.a.co.nosp@m.m

Function Documentation

◆ m_permutator_step()

bool m_permutator_step ( struct m_permutator mp,
uint32_t *  out_elements,
uint32_t  num_elements 
)

Returns false if there are no new permutation available, the only thing you need to do before calling this function is to make sure that the struct has been zero initialised.