SDL  2.0
SDL_winrtapp_direct3d.h File Reference
#include <Windows.h>
+ Include dependency graph for SDL_winrtapp_direct3d.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  sealed
 

Functions

int SDL_WinRTInitNonXAMLApp (int(*mainFunction)(int, char **))
 

Variables

SDL_WinRTApp SDL_WinRTGlobalApp
 

Function Documentation

◆ SDL_WinRTInitNonXAMLApp()

int SDL_WinRTInitNonXAMLApp ( int(*)(int, char **)  mainFunction)

Definition at line 116 of file SDL_winrtapp_direct3d.cpp.

117 {
118  WINRT_SDLAppEntryPoint = mainFunction;
119  auto direct3DApplicationSource = ref new SDLApplicationSource();
120  CoreApplication::Run(direct3DApplicationSource);
121  return 0;
122 }

References Run(), and WINRT_SDLAppEntryPoint.

Referenced by SDL_WinRTRunApp().

Variable Documentation

◆ SDL_WinRTGlobalApp

SDL_WinRTApp SDL_WinRTGlobalApp
extern

Definition at line 94 of file SDL_winrtapp_direct3d.cpp.

ref
GLenum GLint ref
Definition: SDL_opengl_glext.h:657
WINRT_SDLAppEntryPoint
int(* WINRT_SDLAppEntryPoint)(int, char **)
Definition: SDL_winrtapp_common.cpp:29
Run
int Run(void *data)
Definition: testlock.c:65