nngn
Loading...
Searching...
No Matches
anonymous_namespace{memory.cpp} Namespace Reference

Functions

bool init_allocator (VkInstance inst, VkPhysicalDevice physical_dev, VkDevice dev, void **p)
 
void destroy_allocator (void *p)
 
bool allocate (void *p, std::uint32_t type, const VkMemoryRequirements *req, nngn::MemoryAllocation *alloc, VkDeviceMemory *mem, VkDeviceSize *offset)
 
void dealloc (void *p, nngn::MemoryAllocation alloc)
 

Function Documentation

◆ allocate()

bool anonymous_namespace{memory.cpp}::allocate ( void * p,
std::uint32_t type,
const VkMemoryRequirements * req,
nngn::MemoryAllocation * alloc,
VkDeviceMemory * mem,
VkDeviceSize * offset )
Here is the call graph for this function:

◆ dealloc()

void anonymous_namespace{memory.cpp}::dealloc ( void * p,
nngn::MemoryAllocation alloc )
Here is the call graph for this function:

◆ destroy_allocator()

void anonymous_namespace{memory.cpp}::destroy_allocator ( void * p)

◆ init_allocator()

bool anonymous_namespace{memory.cpp}::init_allocator ( VkInstance inst,
VkPhysicalDevice physical_dev,
VkDevice dev,
void ** p )