Lugdunum
0.1.0
src
lug
Graphics
Vulkan
API
CommandBuffer
Buffer.cpp
Go to the documentation of this file.
1
#include <
lug/Graphics/Vulkan/API/CommandBuffer.hpp
>
2
3
#include <
lug/Graphics/Vulkan/API/Buffer.hpp
>
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
CommandBuffer.hpp
Vulkan
Definition:
Vulkan.hpp:155
updateBuffer
void updateBuffer(const API::Buffer &buffer, const void *data, VkDeviceSize size, VkDeviceSize offset=0) const
Buffer.hpp
lug
Definition:
Application.hpp:11
lug::Graphics::Vulkan::API::CommandBuffer::_commandBuffer
VkCommandBuffer _commandBuffer
Definition:
CommandBuffer.hpp:61
Generated by
1.8.13