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.5k stars 404 forks source link

SpriteBatch support for 2D arrays #22

Open walbourn opened 6 years ago

walbourn commented 6 years ago

SpriteBatch and it's shaders could be made to leverage a per-sprite array index in addition to texture UVs to be able to pack textures into a 2D texture array.