MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / RunExample

Function RunExample

deps/LLGL/examples/Cpp/ExampleBase/ExampleBase.h:288–300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

286
287template <typename T>
288void RunExample(android_app* state)
289{
290 try
291 {
292 ExampleBase::SetAndroidApp(state);
293 auto tutorial = std::unique_ptr<T>(new T());
294 tutorial->Run();
295 }
296 catch (const std::exception& e)
297 {
298 LLGL_ANDROID_STDERR("%s\n", e.what());
299 }
300}
301
302#define LLGL_IMPLEMENT_EXAMPLE(CLASS) \
303 void android_main(android_app* state) \

Callers

nothing calls this directly

Calls 2

RunMethod · 0.45
whatMethod · 0.45

Tested by

no test coverage detected