| 812 | template <vkb::BindingType bindingType> |
| 813 | inline void CommandBuffer<bindingType>::end_render_pass() |
| 814 | { |
| 815 | this->get_resource().endRenderPass(); |
| 816 | } |
| 817 | |
| 818 | template <vkb::BindingType bindingType> |
| 819 | inline typename CommandBuffer<bindingType>::CommandBufferLevelType CommandBuffer<bindingType>::get_level() const |
| 820 | { |
| 821 | if constexpr (bindingType == vkb::BindingType::Cpp) |
| 822 | { |
| 823 | return level; |
| 824 | } |
| 825 | else |
| 826 | { |
| 827 | return static_cast<VkCommandBufferLevel>(level); |
no test coverage detected