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

Updated for 2019 nuget

Chuck Walbourn 2022-05-10 15:14:09 -07:00
parent a614631045
commit 6cbc3c9e3e
2 changed files with 22 additions and 17 deletions

@ -29,7 +29,7 @@ if (FAILED(hr))
// error
```
If you need Windows Runtime functionality in your application on Windows 10, use:
If you need Windows Runtime functionality in your application on Windows 10 or Windows 11, use:
```cpp
#if (_WIN32_WINNT >= 0x0A00 /*_WIN32_WINNT_WIN10*/)
@ -179,38 +179,38 @@ In your application's solution, right-click on the Solution and use "Add \ Exist
<table>
<tr>
<td>DirectXTex_Desktop_2022</td>
<td>Windows desktop applications for Windows 7 Service Pack 1 or later building with VS 2022 Community, Professional or higher with the latest installed Windows 10 SDK.</td>
<td>Windows desktop applications for Windows 7 Service Pack 1 or later building with VS 2022 Community, Professional or higher with the latest installed Windows SDK.</td>
</tr>
<tr>
<td>DirectXTex_Desktop_2022_Win10</td>
<td>Windows desktop applications for Windows 10 building with VS 2022 Community, Professional or higher with with the latest installed Windows 10 SDK. <I>This includes DirectX 12 support.</I></td>
<td>Windows desktop applications for Windows 10/Windows 11 building with VS 2022 Community, Professional or higher with with the latest installed Windows SDK. <I>This includes DirectX 12 support.</I></td>
</tr>
<tr>
<td>DirectXTex_Windows10_2022</td>
<td>Universal Windows Platform (UWP) apps building with VS 2022 with the latest installed Windows 10 SDK. <I>This includes DirectX 12 support.</I</td>
<td>Universal Windows Platform (UWP) apps building with VS 2022 with the latest installed Windows SDK. <I>This includes DirectX 12 support.</I</td>
</tr>
</table>
<table>
<tr>
<td>DirectXTex_Desktop_2019</td>
<td>Windows desktop applications for Windows 7 Service Pack 1 or later building with VS 2019 Community, Professional or higher with the latest installed Windows 10 SDK.</td>
<td>Windows desktop applications for Windows 7 Service Pack 1 or later building with VS 2019 Community, Professional or higher with the latest installed Windows SDK.</td>
</tr>
<tr>
<td>DirectXTex_Desktop_2019_Win10</td>
<td>Windows desktop applications for Windows 10 building with VS 2019 Community, Professional or higher with with the latest installed Windows 10 SDK. <I>This includes DirectX 12 support.</I></td>
<td>Windows desktop applications for Windows 10/Windows 11 building with VS 2019 Community, Professional or higher with the latest installed Windows SDK. <I>This includes DirectX 12 support.</I></td>
</tr>
<tr>
<td>DirectXTex_Windows10_2019</td>
<td>Universal Windows Platform (UWP) apps building with VS 2019 with the latest installed Windows 10 SDK. <I>This includes DirectX 12 support.</I</td>
<td>Universal Windows Platform (UWP) apps building with VS 2019 with the latest installed Windows SDK. <I>This includes DirectX 12 support.</I</td>
</tr>
<tr>
<td>DirectXTex_GDK_2019</td>
<td>Windows 10 and Xbox games building with VS 2019 using the <a href="http://aka.ms/gamedevdocs">Microsoft GDK</a>.</td>
<td>Windows 10, Windows 11, and Xbox games building with VS 2019 using the <a href="http://aka.ms/gamedevdocs">Microsoft GDK</a>.</td>
</tr>
</table>
> For VS 2019, use of the 16.7 update or later is required.
> For VS 2019, use of the 16.9 update or later is required.
<table>
<tr>
@ -234,21 +234,27 @@ Alternatively you can use [NuGet](https://docs.microsoft.com/nuget/what-is-nuget
<table>
<tr>
<td><a href="https://www.nuget.org/packages/directxtex_desktop_2017/">directxtex_desktop_2017</a></td>
<td>This NuGet package is configured for Windows desktop C++ applications building with VS 2017, VS 2019, or VS 2022 Community/Professional or higher for Windows 7 Service Pack 1 or later.</td>
<td><a href="https://www.nuget.org/packages/directxtex_desktop_2019/">directxtex_desktop_2019</a></td>
<td>This NuGet package is configured for Windows desktop C++ applications building with VS 2019 or VS 2022 Community/Professional or higher for Windows 7 Service Pack 1 or later.</td>
</tr>
<tr>
<td><a href="https://www.nuget.org/packages/directxtex_desktop_win10/">directxtex_desktop_win10</a></td>
<td>This NuGet package is configured for Windows desktop C++ applications building with VS 2017, VS 2019, or VS 2022 Community/Professional or higher for Windows 10. <I>This includes DirectX 12 support.</I></td>
<td>This NuGet package is configured for Windows desktop C++ applications building with VS 2019 or VS 2022 Community/Professional or higher for Windows 10/Windows 11.<I>This includes DirectX 12 support.</I></td>
</tr>
<tr>
<td><a href="https://www.nuget.org/packages/directxtex_uwp/">directxtex_uwp</a></td>
<td>This NuGet package is configured for Universal Windows Platform apps for Windows 10 building with VS 2017, VS 2019, or VS 2022 Community/Professional or higher. <I>This includes DirectX 12 support.</I></td>
<td>This NuGet package is configured for Universal Windows Platform apps for Windows 10/Windows 11 building with VS 2019, or VS 2022 Community/Professional or higher. <I>This includes DirectX 12 support.</I></td>
</tr>
</table>
You should use the NuGet interface to check for updates if you have an older version installed.
### Archived
These packages are no longer supported:
* [Windows desktop app using VS 2017](https://www.nuget.org/packages/directxtex_desktop_2017/)
* [Windows desktop app using VS 2015](https://www.nuget.org/packages/directxtex_desktop_2015/)
## Using the vcpkg C++ library manager
_DirectXTex_ is also available through the [vcpkg](https://github.com/microsoft/vcpkg) C++ Library Manager.
@ -325,7 +331,7 @@ The _DirectXTex_ library assumes your binary is linking with the following syste
# Release Notes
* The alpha mode specification for ``DDS`` files was updated between the March 2013 and April 2013 releases. Any ``DDS`` files created using the ``DDS_FLAGS_FORCE_DX10_EXT_MISC2`` flag or the [[texconv]] ``-dx10`` switch using the March 2013 release should be refreshed.
* Due to the underlying Windows BMP WIC codec, alpha channels are not supported for 16bpp or 32bpp BMP pixel format files. The Windows 8.x and Windows 10 version of the Windows BMP WIC codec does support 32bpp pixel formats with alpha when using the ``BITMAPV5HEADER`` file header. Note the updated WIC is available on Windows 7 SP1 with [KB 2670838](http://support.microsoft.com/kb/2670838) installed.
* Due to the underlying Windows BMP WIC codec, alpha channels are not supported for 16bpp or 32bpp BMP pixel format files. In Windows 8.x and later, the Windows BMP WIC codec does support 32bpp pixel formats with alpha when using the ``BITMAPV5HEADER`` file header. Note the updated WIC is available on Windows 7 SP1 with [KB 2670838](http://support.microsoft.com/kb/2670838) installed.
* While DXGI 1.0 and DXGI 1.1 include 5:6:5 (``DXGI_FORMAT_B5G6R5_UNORM``) and 5:5:5:1 (``DXGI_FORMAT_B5G5R5A1_UNORM``) pixel format enumerations, the DirectX 10.x and 11.0 Runtimes do not support these formats for use with Direct3D. The DirectX 11.1 runtime, DXGI 1.2, and the WDDM 1.2 driver model or later fully support 16bpp formats (5:6:5, 5:5:5:1, and 4:4:4:4).

@ -1,8 +1,8 @@
http://go.microsoft.com/fwlink/?LinkId=248926
[![GitHub All Releases](https://img.shields.io/github/downloads/Microsoft/DirectXTex/total?style=for-the-badge) ![GitHub Release Date](https://img.shields.io/github/release-date/Microsoft/DirectXTex?style=for-the-badge)](https://github.com/microsoft/DirectXTex/releases/latest)
[![Nuget UWP](https://img.shields.io/nuget/dt/directxtex_uwp?label=NuGet%20%28UWP%29&style=for-the-badge)](https://www.nuget.org/packages/directxtex_uwp/) [![Nuget Win32](https://img.shields.io/nuget/dt/directxtex_desktop_2017?label=NuGet%20%28Win32%29&style=for-the-badge)](https://www.nuget.org/packages/directxtex_desktop_2017/) [![Nuget Win10](https://img.shields.io/nuget/dt/directxtex_desktop_win10?label=NuGet%20%28Win10%29&style=for-the-badge)](https://www.nuget.org/packages/directxtex_desktop_win10/)
[![Nuget UWP](https://img.shields.io/nuget/dt/directxtex_uwp?label=NuGet%20%28UWP%29&style=for-the-badge)](https://www.nuget.org/packages/directxtex_uwp/) [![Nuget Win32](https://img.shields.io/nuget/dt/directxtex_desktop_2019?label=NuGet%20%28Win32%29&style=for-the-badge)](https://www.nuget.org/packages/directxtex_desktop_2019/) [![Nuget Win10](https://img.shields.io/nuget/dt/directxtex_desktop_win10?label=NuGet%20%28Win10%29&style=for-the-badge)](https://www.nuget.org/packages/directxtex_desktop_win10/) [![Nuget VS 2017](https://img.shields.io/nuget/dt/directxtex_desktop_2017?label=NuGet%20%28VS%202017%29&style=for-the-badge)](https://www.nuget.org/packages/directxtex_desktop_2017/)
![GitHub last commit](https://img.shields.io/github/last-commit/Microsoft/DirectXTex?style=for-the-badge) ![Lines of code](https://img.shields.io/tokei/lines/github/Microsoft/DirectXTex?style=for-the-badge) ![Code size](https://img.shields.io/github/languages/code-size/Microsoft/DirectXTex?style=for-the-badge)
@ -86,4 +86,3 @@ This project may contain trademarks or logos for projects, products, or services
The DirectXTex library is the work of Chuck Walbourn, with contributions from Matt Lee, Xin Huang, Craig Peeper, and the numerous other Microsoft engineers who developed the D3DX utility library over the years.
Thanks to Paul Penson for his help with the implementation of ``MemoryStreamOnBlob``.