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

Updated Home (markdown)

Chuck Walbourn 2020-05-10 02:36:47 -07:00
parent 33abce5f4d
commit d84f5b419b

@ -41,7 +41,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** ([DX11](https://github.com/Microsoft/DirectXTK/wiki/DDSTextureLoader) or [DX12](https://github.com/Microsoft/DirectXTK12/wiki/DDSTextureLoader)) and/or **WICTextureLoader** ([DX11](https://github.com/Microsoft/DirectXTK/wiki/WICTextureLoader) or [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** ([DX11](https://github.com/Microsoft/DirectXTK/wiki/ScreenGrab) or [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/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.
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.