VenomEngine
Cross-Platform Modern Graphics Engine
|
Public Member Functions | |
UniformBuffer (const UniformBuffer &)=delete | |
UniformBuffer & | operator= (const UniformBuffer &)=delete |
UniformBuffer (UniformBuffer &&other) | |
UniformBuffer & | operator= (UniformBuffer &&other) |
vc::Error | Init (const VkDeviceSize size) |
const VkDeviceMemory & | GetVkDeviceMemory () const |
void * | GetMappedData () const |
VkBuffer | GetVkBuffer () const |
VkDeviceSize | GetSize () const |
template<typename T > | |
void | WriteToBuffer (const T *data, size_t size, size_t offset=0) |