microsoft / DirectXTK12

The DirectX Tool Kit (aka DirectXTK12) is a collection of helper classes for writing DirectX 12 code in C++
https://walbourn.github.io/directx-tool-kit-for-directx-12/
MIT License
1.45k stars 371 forks source link

D3D12 - Add support for memory allocators #103

Open kingofthebongo2008 opened 2 years ago

kingofthebongo2008 commented 2 years ago

CreateComittedResource is fine,

However is good to add interface to CreateTexture, CreateTextureEx

Particularly on d3d12 this allocator is very often used

https://github.com/GPUOpen-LibrariesAndSDKs/D3D12MemoryAllocator

Support for a callback to the interface + initial resource transition will be fine