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
878 stars 52 forks source link

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

Open egorodet opened 6 months ago

egorodet commented 6 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.