Add code to allow for depth buffer query (Fixes #18)

This commit is contained in:
Georg Hagen
2024-08-01 10:29:07 +02:00
parent 579c4bcca1
commit e54404ec61
8 changed files with 171 additions and 16 deletions

View File

@@ -90,5 +90,7 @@ namespace OpenVulkano::Vulkan
[[nodiscard]] const vk::Viewport& GetFullscreenViewport() const { return fullscreenViewport; }
[[nodiscard]] const vk::Rect2D& GetFullscreenScissor() const { return fullscreenScissor; }
[[nodiscard]] const Image& GetCurrentDepthBuffer() { return depthBuffer; }
};
}