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.

References Run(), SDLCALL, and WINRT_SDLAppEntryPoint.

Referenced by SDL_WinRTRunApp().

117 {
118  WINRT_SDLAppEntryPoint = mainFunction;
119  auto direct3DApplicationSource = ref new SDLApplicationSource();
120  CoreApplication::Run(direct3DApplicationSource);
121  return 0;
122 }
GLenum GLint ref
int Run(void *data)
Definition: testlock.c:65
int(* WINRT_SDLAppEntryPoint)(int, char **)

Variable Documentation

◆ SDL_WinRTGlobalApp

SDL_WinRTApp SDL_WinRTGlobalApp

Definition at line 94 of file SDL_winrtapp_direct3d.cpp.