| 611 | } |
| 612 | |
| 613 | void VideoBackendMF::Base_Update(TaskGraph* graph) |
| 614 | { |
| 615 | double time = Platform::GetTimeSeconds(); |
| 616 | MF::UpdateDeltaTime = TimeSpan::FromSeconds(time - MF::UpdateTime); |
| 617 | MF::UpdateTime = time; |
| 618 | |
| 619 | // Schedule work to update all videos in async |
| 620 | Function<void(int32)> job; |
| 621 | job.Bind(MF::UpdatePlayer); |
| 622 | graph->DispatchJob(job, MF::Players.Count()); |
| 623 | } |
| 624 | |
| 625 | void VideoBackendMF::Base_Dispose() |
| 626 | { |
no test coverage detected