Skip to content

Commit 2336075

Browse files
Expand the SimpleBlockBasedAllocator to work with non void* handles and refactor into BaseBlockBasedAllocator
1 parent 8a78c80 commit 2336075

9 files changed

Lines changed: 348 additions & 170 deletions

File tree

include/nbl/asset/ICPUScene.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
#define _NBL_ASSET_I_CPU_SCENE_H_INCLUDED_
66

77

8-
// TODO: not memory pool but ... object pool
9-
#include "nbl/core/containers/CMemoryPool.h"
8+
#include "nbl/core/declarations.h"
109

1110
#include "nbl/asset/IScene.h"
1211
#include "nbl/asset/ICPUMorphTargets.h"
@@ -19,6 +18,7 @@ namespace nbl::asset
1918
class ICPUScene final : public IAsset, public IScene
2019
{
2120
using base_t = IScene;
21+
// TODO: PoolConfig
2222
using material_table_allocator_t = core::GeneralpurposeAddressAllocatorST<uint32_t>;
2323
// using material_table_t = core::CMemoryPool<,core::allocator,false>;
2424

0 commit comments

Comments
 (0)