LiteFX::Rendering::Backends::raiseIfFailed¶
Raises a VulkanPlatformException, if result does not equal VK_SUCCESS.
Synopsis¶
Declared in <litefx/backends/vulkan_api.hpp>
template<typename... TArgs>
static void raiseIfFailed(
VkResult result,
StringView message,
TArgs&&... args);
Parameters¶
| Name | Description |
|---|---|
| result | The error code returned by the operation. |
| message | The format string for the error message. |
| args | The arguments passed to the error message format string. |