29VkResult
GetMemoryType(uint32_t bits, VkMemoryPropertyFlags flags, uint32_t& index);
MemoryPoolType
Definition memory.h:31
Vulkan implementation of GPU acceleration structure.
Definition vkaccelerationstructure.cc:15
VkResult GetMemoryType(uint32_t bits, VkMemoryPropertyFlags flags, uint32_t &index)
get vulkan memory type based on resource requirements and wanted memory properties
Definition vkmemory.cc:342
void Flush(const VkDevice dev, const Alloc &alloc, IndexT offset, SizeT size)
flush a mapped memory region
Definition vkmemory.cc:302
CoreGraphics::Alloc AllocateMemory(const VkDevice dev, const VkImage &img, MemoryPoolType type)
allocate memory for an image
Definition vkmemory.cc:193
void Invalidate(const VkDevice dev, const CoreGraphics::Alloc &alloc, IndexT offset, SizeT size)
invalidate a mapped memory region
Definition vkmemory.cc:322
Graphics memory interface.
int SizeT
Definition types.h:49
unsigned int uint
Definition types.h:31
int IndexT
Definition types.h:48