| 528 | |
| 529 | template <vkb::BindingType bindingType> |
| 530 | inline typename RenderContext<bindingType>::FormatType RenderContext<bindingType>::get_format() const |
| 531 | { |
| 532 | vk::Format format = swapchain ? swapchain->get_format() : DEFAULT_VK_FORMAT; |
| 533 | if constexpr (bindingType == BindingType::Cpp) |
| 534 | { |
| 535 | return format; |
| 536 | } |
| 537 | else |
| 538 | { |
| 539 | return static_cast<VkFormat>(format); |
| 540 | } |
| 541 | } |
| 542 | |
| 543 | template <vkb::BindingType bindingType> |
| 544 | inline vkb::rendering::RenderFrame<bindingType> &RenderContext<bindingType>::get_last_rendered_frame() |
no outgoing calls
no test coverage detected