Add CVulkanTexture::{m_width,m_height}
This commit is contained in:
parent
49fb59ac56
commit
e80e4393de
2 changed files with 4 additions and 1 deletions
|
@ -452,7 +452,9 @@ 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);
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue