MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Hpp / createResultValueType

Function createResultValueType

vulkan/vulkan.hpp:9046–9061  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9044 }
9045
9046 VULKAN_HPP_INLINE typename ResultValueType<void>::type createResultValueType( Result result )
9047 {
9048#if defined( VULKAN_HPP_NO_EXCEPTIONS )
9049# ifdef VULKAN_HPP_UNEXPECTED
9050 if ( result == Result::eSuccess )
9051 {
9052 return {};
9053 }
9054 return VULKAN_HPP_UNEXPECTED( result );
9055# else
9056 return result;
9057# endif
9058#else
9059 ignore( result );
9060#endif
9061 }
9062
9063 template <typename T>
9064 VULKAN_HPP_INLINE typename ResultValueType<T>::type createResultValueType( Result result, T & data )

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected