Added helper functions, KRTexture::destroyHandles and KRTexture::destroyNewHandles

This commit is contained in:
2022-07-19 00:12:40 -07:00
parent ab86194a59
commit 2a75ee68a0
2 changed files with 29 additions and 24 deletions

View File

@@ -90,6 +90,8 @@ public:
protected:
virtual bool createGPUTexture(int lod_max_dim) = 0;
GLuint getHandle();
void destroyHandles();
void destroyNewHandles();
struct TextureHandle {
VkImage image;