MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / Allocate

Method Allocate

modules/engine/graphics/src/d3d12/D3D12MemAlloc.cpp:2777–2781  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2775#ifndef _D3D12MA_ALLOCATION_OBJECT_ALLOCATOR_FUNCTIONS
2776template<typename... Types>
2777Allocation* AllocationObjectAllocator::Allocate(Types... args)
2778{
2779 MutexLock mutexLock(m_Mutex);
2780 return m_Allocator.Alloc(std::forward<Types>(args)...);
2781}
2782
2783void AllocationObjectAllocator::Free(Allocation* alloc)
2784{

Callers 3

tryAllocateMethod · 0.45
NormalBlockClass · 0.45

Calls 1

AllocMethod · 0.45

Tested by

no test coverage detected