 |
VulkanDeviceExecuteOnMainThread Method |
ExecuteOnMainThread executes the specified action on the main thread (the same thread the VulkanDevice was created on).
If this is called on the main thread, then the action is immediately executed, otherwise the action is saved and it will be executed
when the
RunAllUpdateActions method will be called (usually at the beginning of the update render phase).
This method can be called from any thread.
Namespace: Ab4d.SharpEngine.VulkanAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntaxpublic void ExecuteOnMainThread(
Action action
)
Parameters
- action Action
- Action to execute
See Also