directxtex_desktop_win10 2021.6.10.1

Details
Advisory: https://github.com/advisories/GHSA-3w9w-9833-gcpv Severity: moderate
There is a newer version of this package available.
See the version list below for details.

Requires NuGet 2.8.6 or higher.

dotnet add package directxtex_desktop_win10 --version 2021.6.10.1
NuGet\Install-Package directxtex_desktop_win10 -Version 2021.6.10.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="directxtex_desktop_win10" Version="2021.6.10.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add directxtex_desktop_win10 --version 2021.6.10.1
#r "nuget: directxtex_desktop_win10, 2021.6.10.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install directxtex_desktop_win10 as a Cake Addin
#addin nuget:?package=directxtex_desktop_win10&version=2021.6.10.1

// Install directxtex_desktop_win10 as a Cake Tool
#tool nuget:?package=directxtex_desktop_win10&version=2021.6.10.1

DirectX Logo

DirectXTex texture processing library

http://go.microsoft.com/fwlink/?LinkId=248926

Copyright (c) Microsoft Corporation.

June 9, 2021

This package contains DirectXTex, a shared source library for reading and writing .DDS files, and performing various texture content processing operations including resizing, format conversion, mip-map generation, block compression for Direct3D runtime texture resources, and height-map to normal-map conversion. This library makes use of the Windows Image Component (WIC) APIs. It also includes .TGA and .HDR readers and writers since these image file formats are commonly used for texture content processing pipelines, but are not currently supported by a built-in WIC codec.

This code is designed to build with Visual Studio 2017 (15.9), Visual Studio 2019, or clang for Windows v9 or later. It is recommended that you make use of the Windows 10 May 2020 Update SDK (19041) or later.

These components are designed to work without requiring any content from the legacy DirectX SDK. For details, see Where is the DirectX SDK?.

Documentation

Documentation is available on the GitHub wiki.

Notices

All content and source code for this package are subject to the terms of the MIT License.

For the latest version of DirectXTex, bug reports, etc. please visit the project site on GitHub.

Release Notes

  • Starting with the June 2020 release, this library makes use of typed enum bitmask flags per the recommendation of the C++ Standard section 17.5.2.1.3 Bitmask types. This is consistent with Direct3D 12's use of the DEFINE_ENUM_FLAG_OPERATORS macro. This may have breaking change impacts to client code:

    • You cannot pass the 0 literal as your flags value. Instead you must make use of the appropriate default enum value: CP_FLAGS_NONE, DDS_FLAGS_NONE, WIC_FLAGS_NONE, TEX_FR_ROTATE0, TEX_FILTER_DEFAULT, TEX_FILTER_DEFAULT, TEX_FILTER_DEFAULT, CNMAP_DEFAULT, or CNMAP_DEFAULT.

    • Use the enum type instead of DWORD if building up flags values locally with bitmask operations. For example, DDS_FLAGS flags = DDS_FLAGS_NONE; if (...) flags |= DDS_FLAGS_EXPAND_LUMINANCE;

    • In cases where some of the flags overlap, you can use the | to combine the relevant types: TEX_FILTER_FLAGS filter modes combine with WIC_FLAGS, TEX_FILTER_FLAGS sRGB flags combine with TEX_PMALPHA_FLAGS or TEX_COMPRESS_FLAGS. No other bitwise operators are defined. For example, WIC_FLAGS wicFlags = WIC_FLAGS_NONE | TEX_FILTER_CUBIC;

  • 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 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 fully support 16bpp formats (5:6:5, 5:5:5:1, and 4:4:4:4).

  • WICTextureLoader cannot load .TGA or .HDR files unless the system has a 3rd party WIC codec installed. You must use the DirectXTex library for TGA/HDR file format support without relying on an add-on WIC codec.

  • Loading of 96bpp floating-point TIFF files results in a corrupted image prior to Windows 8. This fix is available on Windows 7 SP1 with KB 2670838 installed.

  • The UWP projects and the VS 2019 Win10 classic desktop project include configurations for the ARM64 platform. These require VS 2017 (15.9 update) or VS 2019 to build, with the ARM64 toolset installed.

  • The CompileShaders.cmd script must have Windows-style (CRLF) line-endings. If it is changed to Linux-style (LF) line-endings, it can fail to build all the required shaders.

Product Compatible and additional computed target framework versions.
native native is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on directxtex_desktop_win10:

Package Downloads
KtexlibV3

Included a Klei's tex file loader, atlas parser(not stable), and some convert function visual studio 2019 is needed

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on directxtex_desktop_win10:

Repository Stars
aianlinb/VisualGGPK2
Library for Content.ggpk of PathOfExile (Rewrite of libggpk)
Version Downloads Last updated
2024.2.22.1 1,058 2/23/2024
2024.1.1.1 829 1/1/2024
2023.10.31.1 1,342 10/31/2023
2023.9.6.1 1,013 9/6/2023
2023.6.14.1 2,648 6/14/2023
2023.4.28.1 1,383 4/29/2023
2023.3.30.1 1,174 3/31/2023
2023.1.31.1 2,787 2/1/2023
2022.12.18.1 1,085 12/19/2022
2022.10.18.1 2,007 10/18/2022
2022.7.30.1 1,641 7/30/2022
2022.5.10.1 2,116 5/10/2022
2022.3.24.1 3,248 3/24/2022
2022.3.1.1 1,010 3/1/2022
2021.11.8.1 2,133 11/9/2021
2021.8.2.1 1,607 8/3/2021
2021.6.10.1 1,493 6/10/2021
2021.4.7.2 4,234 4/7/2021
2021.1.10.2 13,877 1/10/2021
2020.11.12.1 1,283 11/12/2020
2020.9.30.1 1,225 10/1/2020
2020.8.15.1 1,412 8/16/2020
2020.7.2.1 1,381 7/3/2020
2020.6.15.1 1,120 6/15/2020
2020.6.2.1 1,220 6/2/2020
2020.5.11.1 1,295 5/11/2020
2020.2.15.1 1,788 2/15/2020
2019.12.17.1 1,570 12/18/2019
2019.10.17.1 1,438 10/18/2019
2019.8.23.1 1,532 8/23/2019
2019.5.31.1 1,766 5/31/2019
2019.4.26.1 1,929 4/28/2019
2019.2.7.1 1,653 2/10/2019
2018.11.20.1 1,707 11/20/2018

Matches the June 9, 2021 release on GitHub.