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
880 stars 54 forks source link

DirectX RHI improvement: Use D3D12MemoryAllocator for GPU resource memory allocations #135

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 D3D12MemoryAllocator.