RetroArch
|
Public Member Functions | |
Buffer (VkDevice device, const VkPhysicalDeviceMemoryProperties &mem_props, size_t size, VkBufferUsageFlags usage) | |
~Buffer () | |
size_t | get_size () const |
void * | map () |
void | unmap () |
const VkBuffer & | get_buffer () const |
Buffer (Buffer &&)=delete | |
void | operator= (Buffer &&)=delete |
Private Attributes | |
VkDevice | device |
VkBuffer | buffer |
VkDeviceMemory | memory |
size_t | size |
void * | mapped = nullptr |
Buffer::Buffer | ( | VkDevice | device, |
const VkPhysicalDeviceMemoryProperties & | mem_props, | ||
size_t | size, | ||
VkBufferUsageFlags | usage | ||
) |
Buffer::~Buffer | ( | ) |
|
delete |
|
inline |
|
inline |
void * Buffer::map | ( | ) |
void Buffer::unmap | ( | ) |
|
private |
|
private |
|
private |
|
private |
|
private |