MethanePowered / MethaneKit

🎲 Modern 3D graphics made simple with C++17 cross-platform framework and rendering abstraction API on top of DirectX 12, Metal & Vulkan
Apache License 2.0
846 stars 51 forks source link

Metal RHI improvement: Use MTLHeap for GPU resource memory allocations #137

Open egorodet opened 5 months ago

egorodet commented 5 months ago

Instead of allocating small chunk of GPU memory for separate resources (buffers and textures), sub-allocate memory ranges for resources from a bigger memory heap managed by MTLHeap.