-
Notifications
You must be signed in to change notification settings - Fork 453
DirectXTexXbox
DirectXTex |
---|
For Xbox One XDK / Microsoft GDKX development, there are a number of Xbox extension functions for rearranging textures for the target hardware offline. This functionality is available with the official samples and hosted in the xbox
branch on GitHub.
The xtexconv sample is a variant of the texconv command-line tool that uses these extensions.
These extensions are only usable by Xbox registered developers via the Xbox One XDK / Microsoft GDKX.
#include "DirectXTexXbox.h"
All the functions in the library are in the Xbox C++ namespace.
-
GetMetadataFromDDSMemory, LoadFromDDSMemory, LoadFromDDSFile, SaveToDDSMemory, SaveToDDSFile - Variants of the DDS I/O Functions that write the tiled/detiled versions of data in a custom DDS variant.
-
Tile - Converts 'standard' to 'tiled' textures
-
Detile - Converts 'tiled' to 'standard' textures
-
CreateTexture, CreateShaderResourceView - Variants that use placement creation of textures with tiled/detiled data.
-
FreeTextureMemory - Releases memory allocated by these variants.
XboxImage is a variant of Image with additional metadata.
In your application's solution, right-click on the Solution and use "Add \ Existing Project..." to add the appropriate .vcxproj
file to your solution.
DirectXTex_GDK_2022 | For the Gaming.Xbox.*.x64 platforms, this project includes the extension functions. |
DirectXTex_GXDK_PC_2022 | This project is a variant of DirectXTex_Desktop_2019 that includes the extensions for PC-hosted content tools for Microsoft GDKX development. |
DirectXTex_GDK_2019 | For the Gaming.Xbox.*.x64 platforms, this project includes the extension functions. |
DirectXTex_GXDK_PC_2019 | This project is a variant of DirectXTex_Desktop_2019 that includes the extensions for PC-hosted content tools for Microsoft GDKX development. |
DirectXTex_XboxOneXDK_2017 | For the Durango platform, this project includes the extension fucntions. |
DirectXTex_XboxOneXDK_PC_2017 | This project is a variant of DirectXTex_Desktop_2017 that includes the extensions for PC-hosted content tools for Xbox One XDK development. |
These functions make use of the XG Library.
All content and source code for this package are subject to the terms of the MIT License.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.
- Universal Windows Platform apps
- Windows desktop apps
- Windows 11
- Windows 10
- Windows 8.1
- Xbox One
- Xbox Series X|S
- Windows Subsystem for Linux
- x86
- x64
- ARM64
- Visual Studio 2022
- Visual Studio 2019 (16.11)
- clang/LLVM v12 - v18
- GCC 10.5, 11.4, 12.3
- MinGW 12.2, 13.2
- CMake 3.20
DirectX Tool Kit for DirectX 11