mirror of
https://github.com/opus-tango/IntroductionToVulkan.git
synced 2026-03-20 03:55:26 +00:00
Added flush for modified (mapped) buffer's memory and removed unnecessary CommitMemoryChanges() function in Tutorial04.
This commit is contained in:
@@ -115,8 +115,7 @@ namespace ApiWithoutSecrets {
|
||||
bool CreateSemaphores();
|
||||
bool CreateFences();
|
||||
bool AllocateBufferMemory( VkBuffer buffer, VkDeviceMemory *memory );
|
||||
bool CommitMemoryChanges( VkBuffer buffer, VkDeviceSize size );
|
||||
bool RecordCommandBuffer( VkCommandBuffer command_buffer, const ImageParameters &image_parameters, VkFramebuffer &framebuffer );
|
||||
bool PrepareFrame( VkCommandBuffer command_buffer, const ImageParameters &image_parameters, VkFramebuffer &framebuffer );
|
||||
bool CreateFramebuffer( VkFramebuffer &framebuffer, VkImageView image_view );
|
||||
|
||||
void ChildClear() override;
|
||||
|
||||
Reference in New Issue
Block a user