Vulkan/Texture: Add UpdateFromBuffer method

This commit is contained in:
Connor McLaughlin
2020-12-25 18:01:54 +10:00
parent ebaad0f35a
commit a66f14b5c3
2 changed files with 21 additions and 0 deletions

View File

@ -54,6 +54,9 @@ public:
VkFramebuffer CreateFramebuffer(VkRenderPass render_pass);
void UpdateFromBuffer(VkCommandBuffer cmdbuf, u32 level, u32 layer, u32 x, u32 y, u32 width, u32 height,
VkBuffer buffer, u32 buffer_offset);
private:
u32 m_width = 0;
u32 m_height = 0;