|
VulkanEngine 0.1
Graphics engine using Vulkan
|
Base class for various classes which represent data buffers on the GPU/CPU. More...
#include <BufferBase.h>
Public Member Functions | |
| virtual void | updateBuffer (const void *_data, size_t _data_size) |
Protected Attributes | |
| VmaAllocation | vma_allocation |
Base class for various classes which represent data buffers on the GPU/CPU.
|
virtual |
Copy the data to the buffer.
| data | Pointer to the data. |
| data_size | The size of the data in bytes. |
Reimplemented in VulkanEngine::StagedBuffer< Buffer >.
|
protected |
VmaAllocation used to handle allocation with Vulkan Memory Allocator library.