MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / PreCache

Method PreCache

ogsr_engine/xr_3da/device.cpp:124–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122}
123
124void CRenderDevice::PreCache(u32 amount, bool b_draw_loadscreen, bool b_wait_user_input)
125{
126 dwPrecacheFrame = dwPrecacheTotal = amount;
127
128 if (amount && b_draw_loadscreen && load_screen_renderer.b_registered == false)
129 {
130 load_screen_renderer.start(b_wait_user_input);
131 }
132}
133
134ENGINE_API xr_list<fastdelegate::FastDelegate<bool()>> g_loading_events;
135

Callers 4

restart_simulatorMethod · 0.80
ActivateMethod · 0.80
net_start_client6Method · 0.80
CDemoPlayMethod · 0.80

Calls 1

startMethod · 0.45

Tested by

no test coverage detected