Added helper functions, KRTexture::destroyHandles and KRTexture::destroyNewHandles
This commit is contained in:
@@ -90,6 +90,8 @@ public:
|
||||
protected:
|
||||
virtual bool createGPUTexture(int lod_max_dim) = 0;
|
||||
GLuint getHandle();
|
||||
void destroyHandles();
|
||||
void destroyNewHandles();
|
||||
|
||||
struct TextureHandle {
|
||||
VkImage image;
|
||||
|
||||
Reference in New Issue
Block a user