VenomEngine
Cross-Platform Modern Graphics Engine
Loading...
Searching...
No Matches
venom::vulkan::Buffer Class Reference

Public Member Functions

 Buffer (const Buffer &)=delete
 
Bufferoperator= (const Buffer &)=delete
 
 Buffer (Buffer &&other)
 
Bufferoperator= (Buffer &&other)
 
vc::Error CreateBuffer (const VkDeviceSize size, const VkBufferUsageFlags flags, const VkSharingMode sharingMode, const VkMemoryPropertyFlags memoryProperties)
 
vc::Error WriteBuffer (const void *data)
 
VkBuffer GetVkBuffer () const
 
const VkDeviceMemory & GetVkDeviceMemory () const
 
VkDeviceSize GetSize () const
 
const VkBuffer * GetVkBufferPtr () const
 

Static Public Member Functions

static uint32_t FindMemoryType (uint32_t typeFilter, VkMemoryPropertyFlags properties)
 

The documentation for this class was generated from the following files: