| 1102 | |
| 1103 | template <vkb::BindingType bindingType> |
| 1104 | inline typename VulkanSample<bindingType>::SurfaceType VulkanSample<bindingType>::get_surface() const |
| 1105 | { |
| 1106 | if constexpr (bindingType == BindingType::Cpp) |
| 1107 | { |
| 1108 | return surface; |
| 1109 | } |
| 1110 | else |
| 1111 | { |
| 1112 | return static_cast<VkSurfaceKHR>(surface); |
| 1113 | } |
| 1114 | } |
| 1115 | |
| 1116 | template <vkb::BindingType bindingType> |
| 1117 | inline bool VulkanSample<bindingType>::has_device() const |
no outgoing calls
no test coverage detected