| 339 | |
| 340 | template <vkb::BindingType bindingType> |
| 341 | inline typename RenderTarget<bindingType>::ImageLayoutType RenderTarget<bindingType>::get_layout(uint32_t attachment) const |
| 342 | { |
| 343 | if constexpr (bindingType == BindingType::Cpp) |
| 344 | { |
| 345 | return attachments[attachment].initial_layout; |
| 346 | } |
| 347 | else |
| 348 | { |
| 349 | return static_cast<VkImageLayout>(attachments[attachment].initial_layout); |
| 350 | } |
| 351 | } |
| 352 | |
| 353 | template <vkb::BindingType bindingType> |
| 354 | inline std::vector<uint32_t> const &RenderTarget<bindingType>::get_output_attachments() const |
no outgoing calls
no test coverage detected