Attached depth buffer to KRSurface and enabled depth testing in render pass

This commit is contained in:
2022-03-01 23:53:42 -08:00
parent adfaf21cda
commit 9bdfb0feea
4 changed files with 53 additions and 12 deletions

View File

@@ -49,6 +49,7 @@ public:
void destroy();
uint32_t getWidth() const;
uint32_t getHeight() const;
VkFormat getDepthFormat() const;
KRSurface(const KRSurface&) = delete;
KRSurface& operator=(const KRSurface&) = delete;