MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / Execute

Method Execute

Source/Engine/Streaming/Streaming.cpp:260–269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

258}
259
260void StreamingSystem::Execute(TaskGraph* graph)
261{
262 if (Resources.Count() == 0 || GPUDevice::Instance->GetState() != GPUDevice::DeviceState::Ready)
263 return;
264
265 // Schedule work to update all storage containers in async
266 Function<void(int32)> job;
267 job.Bind<StreamingSystem, &StreamingSystem::Job>(this);
268 graph->DispatchJob(job, 1);
269}
270
271StreamingStats Streaming::GetStats()
272{

Callers

nothing calls this directly

Calls 3

DispatchJobMethod · 0.80
CountMethod · 0.45
GetStateMethod · 0.45

Tested by

no test coverage detected