1#ifndef VULKAN_STAGINGBUFFER
2#define VULKAN_STAGINGBUFFER
4#include <vulkan/vulkan.h>
26 memcpy(rawData, data,
size);
const size_t size
Definition: Buffer.h:112
const LogicalDevice & virtualGpu
Definition: Buffer.h:111
VkDeviceMemory bufferMemory
Definition: Buffer.h:110
Definition: StagingBuffer.h:14
StagingBuffer(const LogicalDevice &virtualGpu, const PhysicalDevice &realGpu, size_t size)
Definition: StagingBuffer.h:17
void fillBuffer(unsigned char *data, size_t size)
Definition: StagingBuffer.h:23
A logical device is an abstraction of the physical GPU which we can mainly use to send commands.
Definition: LogicalDevice.h:15
Represents the GPU (or any other device) that will be used with Vulkan to perform computer graphics.
Definition: PhysicalDevice.h:17