Temporary vertex data is now uploaded synchronously in the presentation thread with the graphics command buffer.
This commit is contained in:
@@ -80,6 +80,7 @@ public:
|
||||
void streamUpload(void* data, size_t size, Vector2i dimensions, VkImage destination);
|
||||
void streamEnd();
|
||||
|
||||
void graphicsUpload(KRDataBlock& data, VkBuffer destination);
|
||||
void graphicsUpload(void* data, size_t size, VkBuffer destination);
|
||||
|
||||
VkPhysicalDevice m_device;
|
||||
|
||||
Reference in New Issue
Block a user