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.47k stars 393 forks source link

Added ModelLoaderFlags #66

Closed walbourn closed 4 years ago

walbourn commented 4 years ago

A few minor feature requests and some other workflows I have made me revisit the Model loader APIs. This rearranges the optional device value first to be more consistent with DirectXTK--it can be null.

Also added two features:

Breaking change to Model::CreateFrom* methods but it's easy to fix up. Just put the device or nullptr first.