XenevaOS
Loading...
Searching...
No Matches
xr_present.h
Go to the documentation of this file.
1#ifndef DEODHAI_XR_PRESENT_H
2#define DEODHAI_XR_PRESENT_H
3
4#include <chitralekha.h>
5
6#ifdef __XENEVA_OPENXR__
7void XrPresentInit(ChCanvas* canv);
8void XrPresentFrame(ChCanvas* canv);
9void XrPresentShutdown(void);
10int XrPresentEnabled(void);
11#else
12static inline void XrPresentInit(ChCanvas* canv) { (void)canv; }
13static inline void XrPresentFrame(ChCanvas* canv) { (void)canv; }
14static inline void XrPresentShutdown(void) {}
15static inline int XrPresentEnabled(void) { return 0; }
16#endif
17
18#endif
Definition chitralekha.h:40