Skip to content

Commit 92682bf

Browse files
authored
March 24, 2025 (#599)
1 parent 7cb9606 commit 92682bf

File tree

7 files changed

+30
-12
lines changed

7 files changed

+30
-12
lines changed

.nuget/directxtex_desktop_2019.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<description>This version is for Windows desktop applications using Visual Studio 2019 (16.11) or Visual Studio 2022 on Windows 8.1 or later.
1111

1212
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 simple .TGA and .HDR readers and writers since these image file format are commonly used for texture content processing pipelines, but are not currently supported by a built-in WIC codec.</description>
13-
<releaseNotes>Matches the October 28, 2024 release on GitHub.</releaseNotes>
13+
<releaseNotes>Matches the March 24, 2025 release on GitHub.</releaseNotes>
1414
<projectUrl>http://go.microsoft.com/fwlink/?LinkId=248926</projectUrl>
1515
<repository type="git" url="https://github.com/microsoft/DirectXTex.git" />
1616
<icon>images\icon.jpg</icon>

.nuget/directxtex_desktop_win10.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<description>This version is for Windows desktop applications using Visual Studio 2022 on Windows 10 / Windows 11 including both DirectX 11 and DirectX 12.
1111

1212
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 simple .TGA and .HDR readers and writers since these image file format are commonly used for texture content processing pipelines, but are not currently supported by a built-in WIC codec.</description>
13-
<releaseNotes>Matches the October 28, 2024 release on GitHub.</releaseNotes>
13+
<releaseNotes>Matches the March 24, 2025 release on GitHub.</releaseNotes>
1414
<projectUrl>http://go.microsoft.com/fwlink/?LinkId=248926</projectUrl>
1515
<repository type="git" url="https://github.com/microsoft/DirectXTex.git" />
1616
<icon>images\icon.jpg</icon>

.nuget/directxtex_uwp.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<description>This version is for Universal Windows Platform apps on Windows 10 / Windows 11 using Visual Studio 2022.
1111

1212
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 simple .TGA and .HDR readers and writers since these image file format are commonly used for texture content processing pipelines, but are not currently supported by a built-in WIC codec.</description>
13-
<releaseNotes>Matches the October 28, 2024 release on GitHub.</releaseNotes>
13+
<releaseNotes>Matches the March 24, 2025 release on GitHub.</releaseNotes>
1414
<projectUrl>http://go.microsoft.com/fwlink/?LinkId=248926</projectUrl>
1515
<repository type="git" url="https://github.com/microsoft/DirectXTex.git" />
1616
<icon>images\icon.jpg</icon>

CHANGELOG.md

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,24 @@ Release available for download on [GitHub](https://github.com/microsoft/DirectXT
66

77
## Release History
88

9+
### March 24, 2025
10+
* C++17 `std::byte` support for `FromMemory` functions
11+
* Added **ComputeTileShape** method to compute Direct3D Tiled Resource standard dimensions
12+
* Added *isd3d12* defaulted parameter to `IsPlaner` for change to depth/stencil formats
13+
* DDS reader `DDS_FLAGS_PERMISSIVE` supports a DX10 variant with 'incorrect' cubemap counts
14+
* Retired support for Windows 7 and Windows 8.0
15+
* CMake project updates including support for BUILD_SHARED_LIBS (i.e. DLL vs. static library)
16+
* texconv:
17+
* Add `--ignore-srgb` switch which passes `TGA_FLAGS_IGNORE_SRGB` or `WIC_FLAGS_IGNORE_SRGB`
18+
* Add `--wic-uncompressed` switch which applies to TIFF and HEIF
19+
* Updates for `--wic-lossless` (JPEG-XR only) and `--wic-quality` (also applies to HEIF) switches
20+
* The `--ignore-mips` switch now properly blocks use on array textures
21+
* Remove 'heic' file extension for writing which is only supported for reading by *HEIF Image Extensions*
22+
* Add support for 'phm' file extension to indicate Portable Half Map
23+
924
### October 28, 2024
1025
* All enums now use ``uint32_t`` as the underlying type rather than ``unsigned long`` or ``int``.
11-
* Added ``BytesPerBlock`` utility helper
26+
* Added **BytesPerBlock** utility helper
1227
* Fixed bug in DirectX 12 `CaptureTexture` for MSAA resolve state handling
1328
* texassemble, texconv, texdiag:
1429
* Add "GNU-style" *--long-options* to the command-line tools (all existing switches are still supported)
@@ -25,7 +40,7 @@ Release available for download on [GitHub](https://github.com/microsoft/DirectXT
2540
* texconv: Added `-ignoremips` option to handle some invalid/truncated DDS files
2641
* EXR auxiliary reader returns 6 images for files with 'envmap' metadata
2742
* PNG auxiliary reader/writer fixed for single channel images (`DXGI_FORMAT_R8_UNORM`)
28-
* Xbox auxiliary now has `EncodeDDSHeader` function
43+
* Xbox auxiliary now has **EncodeDDSHeader** function
2944
* ScreenGrab9 minor DDS header fix when writing A2W10V10U10 legacy mixed formats
3045
* CMake project updates including support for ARM64EC
3146
* Added GitHub Actions YAML files
@@ -65,7 +80,7 @@ Release available for download on [GitHub](https://github.com/microsoft/DirectXT
6580
* texconv: ``-permissive`` switch added to opt-in use of new flag when reading DDS files
6681

6782
### September 1, 2023
68-
* ``CompressEx`` and ``ConvertEx`` functions added with status callback and options structs
83+
* **CompressEx** and **ConvertEx** functions added with status callback and options structs
6984
* Added optional ``DDSMetaData`` return for Ex versions of DDS loader functions
7085
* Added ``TEX_ALPHA_WEIGHT_DEFAULT`` constant (set to 1.0)
7186
* DDS reader updated to support variant used by *Unreal Tournament 2004*
@@ -120,7 +135,7 @@ Release available for download on [GitHub](https://github.com/microsoft/DirectXT
120135
* Code review
121136

122137
### July 29, 2022
123-
* Added ``MakeLinear`` DXGI_FORMAT utility function.
138+
* Added **MakeLinear** DXGI_FORMAT utility function.
124139
* *breaking change* ``CreateTextureEx`` and ``CreateShaderResourceViewEx`` functions now use ``CREATETEX_FLAGS`` instead of a ``bool forceSRGB`` parameter.
125140
* Updates for MinGW ABI fixes for DirectX12 in the latest DirectX-Headers.
126141
* CMake and MSBuild project updates
@@ -129,7 +144,7 @@ Release available for download on [GitHub](https://github.com/microsoft/DirectXT
129144

130145
### May 9, 2022
131146
* TGA reader updated to support 24-bit paletted uncompressed color-mapped images (used by a DCC application)
132-
* Added `IsBGR` utility method
147+
* Added **IsBGR** utility method
133148
* Workaround for driver issue on some systems using DirectX 11 `Capture` method
134149
* Fix for problem with resizing/mipmaps generation for HDR content using box/fant filter which should avoid going through WIC code paths
135150
* Minor updates for VS 2022 (17.2)
@@ -150,6 +165,7 @@ Release available for download on [GitHub](https://github.com/microsoft/DirectXT
150165
* Optional C++17 usage in a few places
151166

152167
### February 28, 2022
168+
* Made **EncodeDDSHeader** a public function instead of being internal only
153169
* Updated D3DX12 internal copy with latest changes from GitHub
154170
* Code and project review including fixing clang v13 warnings
155171
* Added CMakePresets.json
@@ -217,7 +233,7 @@ Release available for download on [GitHub](https://github.com/microsoft/DirectXT
217233

218234
### August 15, 2020
219235
* Added ``DDS_FLAGS_ALLOW_LARGE_FILES`` flag for DDS loader to allow textures with dimensions that are too big for Direct3D
220-
* Added ``FormatDataType`` function
236+
* Added **FormatDataType** function
221237
* Fixed bug with DX12 ``Capture`` with 'small alignment' textures
222238
* Code review and project updates
223239
* Added GDK projects

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
cmake_minimum_required (VERSION 3.20)
55

6-
set(DIRECTXTEX_VERSION 2.0.6)
6+
set(DIRECTXTEX_VERSION 2.0.7)
77

88
if(XBOX_CONSOLE_TARGET STREQUAL "durango")
99
set(CMAKE_TRY_COMPILE_TARGET_TYPE "STATIC_LIBRARY")

DirectXTex/DirectXTex.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ struct IWICImagingFactory;
4747
struct IWICMetadataQueryReader;
4848
#endif
4949

50-
#define DIRECTX_TEX_VERSION 206
50+
#define DIRECTX_TEX_VERSION 207
5151

5252
#ifdef DIRECTX_TEX_EXPORT
5353
#define DIRECTX_TEX_API __declspec(dllexport)

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ http://go.microsoft.com/fwlink/?LinkId=248926
66

77
Copyright (c) Microsoft Corporation.
88

9-
**October 28, 2024**
9+
**March 24, 2025**
1010

1111
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.
1212

@@ -84,6 +84,8 @@ FOR SECURITY ADVISORIES, see [GitHub](https://github.com/microsoft/DirectXTex/se
8484

8585
For a full change history, see [CHANGELOG.md](https://github.com/microsoft/DirectXTex/blob/main/CHANGELOG.md).
8686

87+
* Starting with the March 2025 release, Windows 7 and Windows 8.0 support has been retired.
88+
8789
* Starting with the July 2022 release, the ``bool forceSRGB`` parameter for the CreateTextureEx and CreateShaderResourceViewEx functions is now a ``CREATETEX_FLAGS`` typed enum bitmask flag parameter. This may have a *breaking change* impact to client code. Replace ``true`` with ``CREATETEX_FORCE_SRGB`` and ``false`` with ``CREATETEX_DEFAULT``.
8890

8991
* 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:

0 commit comments

Comments
 (0)