Add CVulkanTexture::{m_width,m_height}

This commit is contained in:
Simon Ser 2021-11-01 09:56:08 +01:00
parent 49fb59ac56
commit e80e4393de
2 changed files with 4 additions and 1 deletions

View file

@ -453,6 +453,8 @@ bool CVulkanTexture::BInit( uint32_t width, uint32_t height, VkFormat format, cr
imageInfo.pNext = &externalImageCreateInfo;
}
m_width = width;
m_height = height;
m_format = imageInfo.format;
res = vkCreateImage(device, &imageInfo, nullptr, &m_vkImage);

View file

@ -112,6 +112,7 @@ public:
VkImageView m_vkImageView = VK_NULL_HANDLE;
uint32_t m_width = 0, m_height = 0;
uint32_t m_unRowPitch = 0;
uint32_t m_FBID = 0;