| 26 | } |
| 27 | |
| 28 | TextureVk::~TextureVk() |
| 29 | { |
| 30 | vkFreeMemory(m_device, m_memory, nullptr); |
| 31 | vkDestroyImage(m_device, m_image, nullptr); |
| 32 | if (m_CmdPool) |
| 33 | vkDestroyCommandPool(m_device, m_CmdPool, nullptr); |
| 34 | } |
| 35 | |
| 36 | void TextureVk::ToVRTexture(vr::Texture_t& texture) |
| 37 | { |
nothing calls this directly
no outgoing calls
no test coverage detected