{.deadCodeElim: on.} import ../vk/vulkan type TextureObj* = object of RootObj image*: VkImage imageLayout*: VkImageLayout deviceMemory*: VkDeviceMemory view*: VkImageView width*: uint32 height*: uint32 mipLevels*: uint32 layerCount*: uint32 descriptor*: VkDescriptorImageInfo sampler*: VkSampler Texture* = ref object of TextureObj Texture2D* = ref object of Texture