3#if defined( __APPLE__ )
5 @class NSOpenGLContext;
6 typedef NSOpenGLContext* NSContextPtr;
8 typedef struct NSOpenGLContext* NSContextPtr;
13#elif defined(__linux__)
21 typedef HWND nativeHandleType;
23#elif defined(EMSCRIPTEN)
25 typedef int nativeHandleType;
27#elif defined(__APPLE__)
29 typedef void* nativeHandleType;
30 NSContextPtr defaultContext;
32#elif defined(__linux__)
34 typedef ::Window nativeHandleType;
36 ::Display* display =
nullptr;
37 ::XVisualInfo* visualInfo =
nullptr;
Main Cogs namespace.
Definition: MortonCode.h:5
Definition: WindowData.h:18
nativeHandleType windowHandle
Definition: WindowData.h:41