MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Samples / prepare

Method prepare

framework/platform/application.cpp:30–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30bool Application::prepare(const ApplicationOptions &options)
31{
32 assert(options.window != nullptr && "Window must be valid");
33
34 auto &_debug_info = get_debug_info();
35 _debug_info.insert<field::MinMax, float>("fps", fps);
36 _debug_info.insert<field::MinMax, float>("frame_time", frame_time);
37
38 lock_simulation_speed = options.benchmark_enabled;
39 window = options.window;
40
41 return true;
42}
43
44void Application::finish()
45{

Callers 1

start_appMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected