HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RV_VKMemAllocator Class Reference

#include <RV_VKMemory.h>

Public Member Functions

RV_VKMemoryPtr allocateImage (RV_MemType type, const VkImageCreateInfo &img_info, VkImage &vk_img)
 
RV_VKMemoryPtr allocateBuffer (RV_MemType type, const VkBufferCreateInfo &buf_info, VkBuffer &vk_buf, exint alignment=0)
 
RV_VKMemoryPtr allocateMemory (RV_MemType type, const VkMemoryRequirements &info)
 
 RV_VKMemAllocator (RV_Instance *inst)
 
const VE_MemoryAllocatorgetBaseAllocator () const
 

Static Public Member Functions

static
VkExternalMemoryHandleTypeFlags 
getExternMemHandleType ()
 

Detailed Description

Definition at line 82 of file RV_VKMemory.h.

Constructor & Destructor Documentation

RV_VKMemAllocator::RV_VKMemAllocator ( RV_Instance inst)

Member Function Documentation

RV_VKMemoryPtr RV_VKMemAllocator::allocateBuffer ( RV_MemType  type,
const VkBufferCreateInfo buf_info,
VkBuffer &  vk_buf,
exint  alignment = 0 
)
RV_VKMemoryPtr RV_VKMemAllocator::allocateImage ( RV_MemType  type,
const VkImageCreateInfo img_info,
VkImage &  vk_img 
)
RV_VKMemoryPtr RV_VKMemAllocator::allocateMemory ( RV_MemType  type,
const VkMemoryRequirements info 
)
const VE_MemoryAllocator& RV_VKMemAllocator::getBaseAllocator ( ) const
inline

Definition at line 103 of file RV_VKMemory.h.

static VkExternalMemoryHandleTypeFlags RV_VKMemAllocator::getExternMemHandleType ( )
inlinestatic

Definition at line 100 of file RV_VKMemory.h.


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