| 263 | |
| 264 | template <vkb::BindingType bindingType> |
| 265 | inline typename Device<bindingType>::CommandBufferType Device<bindingType>::create_command_buffer(CommandBufferLevelType level, bool begin) const |
| 266 | { |
| 267 | if constexpr (bindingType == vkb::BindingType::Cpp) |
| 268 | { |
| 269 | return create_command_buffer_impl(this->get_handle(), level, begin); |
| 270 | } |
| 271 | else |
| 272 | { |
| 273 | return static_cast<VkCommandBuffer>( |
| 274 | create_command_buffer_impl(static_cast<vk::Device>(this->get_handle()), static_cast<vk::CommandBufferLevel>(level), begin)); |
| 275 | } |
| 276 | } |
| 277 | |
| 278 | template <vkb::BindingType bindingType> |
| 279 | inline typename Device<bindingType>::CommandPoolType Device<bindingType>::create_command_pool(uint32_t queue_index, CommandPoolCreateFlagsType flags) |
no test coverage detected