| 18 | |
| 19 | template <typename Dispatch> |
| 20 | VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result createInstance( const VULKAN_HPP_NAMESPACE::InstanceCreateInfo * pCreateInfo, |
| 21 | const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, |
| 22 | VULKAN_HPP_NAMESPACE::Instance * pInstance, |
| 23 | Dispatch const & d ) VULKAN_HPP_NOEXCEPT |
| 24 | { |
| 25 | VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 26 | return static_cast<Result>( d.vkCreateInstance( reinterpret_cast<const VkInstanceCreateInfo *>( pCreateInfo ), |
| 27 | reinterpret_cast<const VkAllocationCallbacks *>( pAllocator ), |
| 28 | reinterpret_cast<VkInstance *>( pInstance ) ) ); |
| 29 | } |
| 30 | |
| 31 | #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE |
| 32 | template <typename Dispatch> |
no test coverage detected