| 76 | } |
| 77 | |
| 78 | void Swapchain::resize(uint32_t width, uint32_t height) |
| 79 | { |
| 80 | FALCOR_CHECK(width > 0, "Invalid width"); |
| 81 | FALCOR_CHECK(height > 0, "Invalid height"); |
| 82 | |
| 83 | mImages.clear(); |
| 84 | mpDevice->wait(); |
| 85 | FALCOR_GFX_CALL(mGfxSwapchain->resize(width, height)); |
| 86 | prepareImages(); |
| 87 | } |
| 88 | |
| 89 | bool Swapchain::isOccluded() |
| 90 | { |
no test coverage detected