 |
VulkanDeviceDisposeVulkanResourceOnMainThreadAfterFrameRendered Method |
DisposeVulkanResourceOnMainThreadAfterFrameRendered method disposes the Vulkan resources with the specified type and handle
on the main thread and after the rendering of the current frame is complete and the GPU resources for that frame are no longer used.
If this is called on the main thread and if the current frame is already fully rendered (for example after calling
WaitUntilIdle,
then the specified Vulkan resource is immediately disposed.
This method can be called from any thread.
Namespace: Ab4d.SharpEngine.VulkanAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntaxpublic void DisposeVulkanResourceOnMainThreadAfterFrameRendered(
ulong vulkanHandle,
Type vulkanType
)
Parameters
- vulkanHandle UInt64
- vulkanHandle as ulong
- vulkanType Type
- vulkan type, for example typeof(PipelineLayout) or typeof(DescriptorSetLayout)
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Vulkan.VulkanDevice.DisposeVulkanResourceOnMainThreadAfterFrameRendered(System.UInt64,System.Type)"]
See Also