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

Method Sync

Source/Engine/Graphics/Async/GPUTask.h:105–116  ·  view source on GitHub ↗

Action fired when asynchronous operation has been synchronized with a GPU

Source from the content-addressed store, hash-verified

103 /// Action fired when asynchronous operation has been synchronized with a GPU
104 /// </summary>
105 void Sync()
106 {
107 if (_context != nullptr)
108 {
109 ASSERT(IsSyncing());
110
111 // Sync and finish
112 _context = nullptr;
113 OnSync();
114 OnFinish();
115 }
116 }
117
118 /// <summary>
119 /// Cancels the task results synchronization.

Callers 1

OnFrameBeginMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected