Lugdunum  0.1.0
Buffer.cpp
Go to the documentation of this file.
2 
4 
5 namespace lug {
6 namespace Graphics {
7 namespace Vulkan {
8 namespace API {
9 
10 void CommandBuffer::updateBuffer(const API::Buffer& buffer, const void* data, VkDeviceSize size, VkDeviceSize offset) const {
11  vkCmdUpdateBuffer(_commandBuffer, static_cast<VkBuffer>(buffer), offset, size, data);
12 }
13 
14 } // API
15 } // Vulkan
16 } // Graphics
17 } // lug
void updateBuffer(const API::Buffer &buffer, const void *data, VkDeviceSize size, VkDeviceSize offset=0) const