|
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: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax public void ExecuteOnMainThread(
Action action
)
Parameters
- action Action
- Action to execute
See Also