1
0
mirror of https://github.com/microsoft/DirectXTex synced 2024-11-21 12:00:06 +00:00

Updated Home (markdown)

Chuck Walbourn 2021-12-20 15:09:15 -08:00
parent 6991f62a37
commit fdf0272504

@ -38,7 +38,7 @@ See [this post](https://aka.ms/Kfsdiu) for a complete listing of D3DX equivalent
# DirectXTex vs. DirectX Tool Kit
The _DirectXTex_ library is designed a full-featured texture processing library that includes a sophisticated DDS file reader. This reader can handle numerous legacy formats and automatically performs required conversions. This makes it extremely useful in tools and content pipelines, but is far more code that is really needed for a game or application at runtime that loads 'cooked' textures.
Instead, a game or application should make use of **DDSTextureLoader** ([DX9](https://github.com/microsoft/DirectXTex/tree/master/DDSTextureLoader) / [DX11](https://github.com/Microsoft/DirectXTK/wiki/DDSTextureLoader) / [DX12](https://github.com/Microsoft/DirectXTK12/wiki/DDSTextureLoader)) and/or **WICTextureLoader** ([DX9](https://github.com/microsoft/DirectXTex/tree/master/WICTextureLoader) / [DX11](https://github.com/Microsoft/DirectXTK/wiki/WICTextureLoader) / [DX12](https://github.com/Microsoft/DirectXTK12/wiki/WICTextureLoader)). These modules provide light-weight versions of texture creation from ``.dds``, ``.bmp``, ``.png``, ``.gif``, ``.jpg``, ``.tif``, and JPEG-XR / HD Photo files. **ScreenGrab** ([DX9](https://github.com/microsoft/DirectXTex/tree/master/ScreenGrab) / [DX11](https://github.com/Microsoft/DirectXTK/wiki/ScreenGrab) / [DX12](https://github.com/Microsoft/DirectXTK12/wiki/ScreenGrab)) is a light-weight screenshot capture utility for writing out the same file types.
Instead, a game or application should make use of **DDSTextureLoader** ([DX9](https://github.com/microsoft/DirectXTex/tree/main/DDSTextureLoader) / [DX11](https://github.com/Microsoft/DirectXTK/wiki/DDSTextureLoader) / [DX12](https://github.com/Microsoft/DirectXTK12/wiki/DDSTextureLoader)) and/or **WICTextureLoader** ([DX9](https://github.com/microsoft/DirectXTex/tree/main/WICTextureLoader) / [DX11](https://github.com/Microsoft/DirectXTK/wiki/WICTextureLoader) / [DX12](https://github.com/Microsoft/DirectXTK12/wiki/WICTextureLoader)). These modules provide light-weight versions of texture creation from ``.dds``, ``.bmp``, ``.png``, ``.gif``, ``.jpg``, ``.tif``, and JPEG-XR / HD Photo files. **ScreenGrab** ([DX9](https://github.com/microsoft/DirectXTex/tree/main/ScreenGrab) / [DX11](https://github.com/Microsoft/DirectXTK/wiki/ScreenGrab) / [DX12](https://github.com/Microsoft/DirectXTK12/wiki/ScreenGrab)) is a light-weight screenshot capture utility for writing out the same file types.
These modules are included in _DirectX Tool Kit_ ([DX11](http://go.microsoft.com/fwlink/?LinkId=248929) and [DX12](http://go.microsoft.com/fwlink/?LinkID=615561)), and there are 'standalone' versions available in the _DirectXTex_ distribution as well.