 |
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.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntaxpublic void ExecuteOnMainThread(
Action action
)
Parameters
- action Action
- Action to execute
See Also