[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M69BHJXVX35NP9KVEEMQP2BF":3,"skill-same:01M69BHJXVX35NP9KVEEMQP2BF":72},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":34,"linkOnly":35,"markdownContent":36,"markdownBody":37,"frontMatter":38,"refName":42,"commitSha":43,"skillDirectory":44,"forksCount":45,"repositoryHtmlUrl":46,"repositoryHomepageUrl":47,"ownerHtmlUrl":48,"ownerBlogUrl":49,"ownerDescription":50,"updatedAt":51,"install":52,"resources":65},"01M69BHJXVX35NP9KVEEMQP2BF","directxtk12-usage","DirectXTK12 集成使用指南","Guide for integrating DirectX Tool Kit for DirectX 12 into new projects and understanding the library's API surface. Use this skill when asked about how to use DirectXTK12, set up a new project, or get an overview of available classes and functionality.","将 DirectX Tool Kit for DirectX 12 集成到新项目并理解该库 API 接口的指南。当用户询问如何使用 DirectXTK12、搭建新项目，或需要概览可用类与功能时使用。","microsoft\u002FDirectXTK12","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M69BHA7C84W2MG1NV961YFW7",1772,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FDirectXTK12\u002Fblob\u002Fmain\u002Fskills\u002Fdirectxtk12-usage\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRSRXQPYT60FQ3976GDV4Q","C++ 开发","SCENARIO","使用场景",[31,32,33],"directxtk12 usage","directx","directx 12","2026-11-10 10:12:30",false,"---\nname: directxtk12-usage\ndescription: >-\n  Guide for integrating DirectX Tool Kit for DirectX 12 into new projects and understanding the library's API surface.\n  Use this skill when asked about how to use DirectXTK12, set up a new project, or get an overview of\n  available classes and functionality.\nlicense: MIT\nmetadata:\n  author: chuckw\n  version: \"1.0\"\n---\n\n# DirectX Tool Kit for DirectX 12 — Usage Guide\n\n## Overview\n\nThe *DirectX Tool Kit for DirectX 12* (DirectXTK12) is a collection of helper classes for writing Direct3D 12 C++ code for Win32 desktop applications (Windows 10+), Xbox Series X|S, Xbox One, and Universal Windows Platform (UWP) apps.\n\n- **Repository**: \u003Chttps:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FDirectXTK12>\n- **Documentation**: \u003Chttps:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FDirectXTK12\u002Fwiki>\n- **NuGet Packages**: `directxtk12_desktop_win10`, `directxtk12_uwp`\n- **vcpkg Port**: `directxtk12`\n\n## Integration Methods\n\n### vcpkg manifest-mode (Recommended)\n\nIn your `vcpkg.json` file, add the following:\n\n```json\n{\n  \"$schema\": \"https:\u002F\u002Fraw.githubusercontent.com\u002Fmicrosoft\u002Fvcpkg-tool\u002Fmain\u002Fdocs\u002Fvcpkg.schema.json\",\n  \"dependencies\": [\n    \"directx-headers\",\n    \"directxmath\",\n    \"directxtk12\"\n  ]\n}\n```\n\nIf using GameInput for the game input functionality, add the following:\n\n```json\n{\n  \"$schema\": \"https:\u002F\u002Fraw.githubusercontent.com\u002Fmicrosoft\u002Fvcpkg-tool\u002Fmain\u002Fdocs\u002Fvcpkg.schema.json\",\n  \"dependencies\": [\n    \"directx-headers\",\n    \"directxmath\",\n    {\n      \"name\": \"directxtk12\",\n      \"default-features\": false,\n      \"features\": [\n        \"gameinput\"\n      ]\n    }\n  ]\n}\n```\n\nIf using DirectX Tool Kit for Audio and GameInput, add the following:\n\n```json\n{\n  \"$schema\": \"https:\u002F\u002Fraw.githubusercontent.com\u002Fmicrosoft\u002Fvcpkg-tool\u002Fmain\u002Fdocs\u002Fvcpkg.schema.json\",\n  \"dependencies\": [\n    \"directx-headers\",\n    \"directxmath\",\n    {\n      \"name\": \"directxtk12\",\n      \"default-features\": false,\n      \"features\": [\n        \"gameinput\",\n        \"xaudio2-9\"\n      ]\n    }\n  ]\n}\n```\n\n### vcpkg (classic)\n\n```bash\nvcpkg install directxtk12\n```\n\nFeatures: `xaudio2-9` (DirectX Tool Kit for Audio using XAudio 2.9), `gameinput` (Using GameInput for gamepad, keyboard, and mouse), `tools` (command-line tools). Triplets: `x64-windows`, `arm64-windows`, etc.\n\nFor DLL usage (`x64-windows` default triplet), define `DIRECTX_TOOLKIT_IMPORT` in your consuming project. For static library usage, use `-static-md` triplet variants.\n\nCMakeLists.txt:\n\n```cmake\nfind_package(directxtk12 CONFIG REQUIRED)\ntarget_link_libraries(your_target PRIVATE Microsoft::DirectXTK12)\n```\n\nUse the [d3d12game_vcpkg](https:\u002F\u002Fgithub.com\u002Fwalbourn\u002Fdirectx-vs-templates\u002Ftree\u002Fmain\u002Fd3d12game_vcpkg) template as a starting point.\n\n### NuGet\n\nUse `directxtk12_desktop_win10` for Win32 desktop applications or `directxtk12_uwp` for UWP apps.\n\n### Project Reference\n\nAdd the appropriate `.vcxproj` from the `DirectXTK12\u002F` folder to your solution and add a project reference. Add the `DirectXTK12\\Inc` directory to your Additional Include Directories.\n\n## Minimum Requirements\n\n- Windows 10 May 2020 Update SDK (19041) or later\n- Visual Studio 2022, Visual Studio 2026, clang for Windows v12+, or MinGW 12.2\n- Direct3D Feature Level 11.0 or higher\n\n## Getting Started\n\nFor a full step-by-step walkthrough, see the [Getting Started](https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FDirectXTK12\u002Fwiki\u002FGetting-Started) tutorial on the wiki.\n\nA minimal initialization sequence:\n\n1. Create a `ID3D12Device`.\n2. Create a `GraphicsMemory` instance (one per device).\n3. Create a `DescriptorHeap` for SRV\u002FCBV\u002FUAV descriptors.\n4. Use `ResourceUploadBatch` to upload textures and static buffers to the GPU.\n5. Create rendering helpers (e.g., `SpriteBatch`, `Effects`, `Model`) with the appropriate pipeline state.\n6. Each frame, call `GraphicsMemory::Commit` after executing command lists.\n\n## API Reference\n\nThe public API is defined in the header files in the `Inc\u002F` directory. See the [reference overview](reference\u002Foverview.md) for a categorized summary of all classes and helpers.\n\nFull documentation for each class is available on the [GitHub wiki](https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FDirectXTK12\u002Fwiki).\n\nAPI signatures are defined in the public headers under the `Inc\u002F` directory. Always consult those headers for the authoritative function signatures, parameters, and SAL annotations.\n\n## Key Concepts\n\n### Resource Ownership\n\nDirectXTK12 classes follow RAII principles. Most objects are created with `std::make_unique` and destroyed automatically. COM resources are managed with `Microsoft::WRL::ComPtr`.\n\n### Device-Dependent vs Device-Independent\n\nMost DirectXTK12 objects are **device-dependent** — they are created with a `ID3D12Device*` and must be recreated if the device is lost. Plan your resource management accordingly.\n\n### Thread Safety\n\nDirectXTK12 rendering classes (SpriteBatch, Effects, PrimitiveBatch, etc.) are **not** thread-safe. Use one instance per thread, or synchronize access externally. Resource creation (texture loading, model loading) can be done from any thread.\n\n## Key Concepts for DirectX 12 Users\n\n- **Pipeline State Objects (PSOs)**: Unlike the DX11 version, DX12 requires explicit PSO management. Use `EffectPipelineStateDescription` and `RenderTargetState` to configure PSOs for effects and rendering helpers.\n- **Descriptor Heaps**: Use `DescriptorHeap` to manage shader-visible descriptor heaps. Most rendering classes require descriptor heap indices at draw time.\n- **Resource Upload**: GPU resources must be uploaded explicitly. `ResourceUploadBatch` batches uploads into a single command list for efficiency.\n- **Graphics Memory**: `GraphicsMemory` manages per-frame dynamic allocations (constant buffers, dynamic vertex\u002Findex buffers). Call `Commit` once per frame.\n\n## Namespace\n\nAll classes and functions reside in the `DirectX` namespace. Headers that contain Direct3D 12-specific types use `inline namespace DX12` to avoid conflicts when both DX11 and DX12 toolkits are linked together.\n\n```cpp\n#include \"SpriteBatch.h\"\n\n\u002F\u002F Usage:\nauto spriteBatch = std::make_unique\u003CDirectX::SpriteBatch>(device, ...);\n```\n\n## Common Patterns\n\n### Creating an Effect\n\n```cpp\n#include \"Effects.h\"\n#include \"EffectPipelineStateDescription.h\"\n#include \"RenderTargetState.h\"\n\nRenderTargetState rtState(DXGI_FORMAT_B8G8R8A8_UNORM, DXGI_FORMAT_D32_FLOAT);\n\nEffectPipelineStateDescription pd(\n    &VertexPositionNormalTexture::InputLayout,\n    CommonStates::Opaque,\n    CommonStates::DepthDefault,\n    CommonStates::CullCounterClockwise,\n    rtState);\n\nauto effect = std::make_unique\u003CBasicEffect>(device, EffectFlags::Lighting | EffectFlags::Texture, pd);\n```\n\n### Loading and Drawing a Model\n\n```cpp\n#include \"Model.h\"\n\nauto model = Model::CreateFromSDKMESH(device, L\"mymodel.sdkmesh\");\n\n\u002F\u002F Upload resources\nResourceUploadBatch upload(device);\nupload.Begin();\nmodel->LoadStaticBuffers(device, upload);\nupload.End(commandQueue).wait();\n\n\u002F\u002F Draw (simplified — see wiki for full parameter details)\nmodel->Draw(commandList, ...);\n```\n\n### Texture Loading\n\n```cpp\n#include \"DDSTextureLoader.h\"\n#include \"ResourceUploadBatch.h\"\n#include \"DescriptorHeap.h\"\n\nResourceUploadBatch upload(device);\nupload.Begin();\n\nMicrosoft::WRL::ComPtr\u003CID3D12Resource> texture;\nCreateDDSTextureFromFile(device, upload, L\"texture.dds\", texture.ReleaseAndGetAddressOf());\n\nupload.End(commandQueue).wait();\n```\n\n### Input Handling\n\n```cpp\n#include \"Keyboard.h\"\n#include \"Mouse.h\"\n#include \"GamePad.h\"\n\nauto keyboard = std::make_unique\u003CDirectX::Keyboard>();\nauto mouse = std::make_unique\u003CDirectX::Mouse>();\nauto gamePad = std::make_unique\u003CDirectX::GamePad>();\n\n\u002F\u002F In update loop\nauto kb = keyboard->GetState();\nif (kb.Escape)\n    PostQuitMessage(0);\n\nauto pad = gamePad->GetState(0);\nif (pad.IsConnected())\n{\n    if (pad.IsAPressed())\n        \u002F* jump *\u002F;\n}\n```\n\n### Audio\n\n```cpp\n#include \"Audio.h\"\n\n\u002F\u002F Create audio engine\nauto audioEngine = std::make_unique\u003CDirectX::AudioEngine>();\n\n\u002F\u002F Load and play a sound\nauto soundEffect = std::make_unique\u003CDirectX::SoundEffect>(audioEngine.get(), L\"explosion.wav\");\nsoundEffect->Play();\n\n\u002F\u002F Per-frame update\naudioEngine->Update();\n```\n\n> **Note**: Code examples above are simplified for clarity. Consult the [wiki tutorials](https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FDirectXTK12\u002Fwiki\u002FGetting-Started) and public headers in `Inc\u002F` for complete working code with all required parameters.\n\n## Further Reading\n\n- [DirectXTK Wiki](https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FDirectXTK12\u002Fwiki)\n- [DirectX Tool Kit for Audio](https:\u002F\u002Fgithub.com\u002FMicrosoft\u002FDirectXTK\u002Fwiki\u002FAudio)\n- [SimpleMath documentation](https:\u002F\u002Fgithub.com\u002FMicrosoft\u002FDirectXTK\u002Fwiki\u002FSimpleMath)\n- [Project templates](https:\u002F\u002Fgithub.com\u002Fwalbourn\u002Fdirectx-vs-templates\u002Ftree\u002Fmain\u002Fd3d12game_vcpkg)\n","# DirectX Tool Kit for DirectX 12 — Usage Guide\n\n## Overview\n\nThe *DirectX Tool Kit for DirectX 12* (DirectXTK12) is a collection of helper classes for writing Direct3D 12 C++ code for Win32 desktop applications (Windows 10+), Xbox Series X|S, Xbox One, and Universal Windows Platform (UWP) apps.\n\n- **Repository**: \u003Chttps:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FDirectXTK12>\n- **Documentation**: \u003Chttps:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FDirectXTK12\u002Fwiki>\n- **NuGet Packages**: `directxtk12_desktop_win10`, `directxtk12_uwp`\n- **vcpkg Port**: `directxtk12`\n\n## Integration Methods\n\n### vcpkg manifest-mode (Recommended)\n\nIn your `vcpkg.json` file, add the following:\n\n```json\n{\n  \"$schema\": \"https:\u002F\u002Fraw.githubusercontent.com\u002Fmicrosoft\u002Fvcpkg-tool\u002Fmain\u002Fdocs\u002Fvcpkg.schema.json\",\n  \"dependencies\": [\n    \"directx-headers\",\n    \"directxmath\",\n    \"directxtk12\"\n  ]\n}\n```\n\nIf using GameInput for the game input functionality, add the following:\n\n```json\n{\n  \"$schema\": \"https:\u002F\u002Fraw.githubusercontent.com\u002Fmicrosoft\u002Fvcpkg-tool\u002Fmain\u002Fdocs\u002Fvcpkg.schema.json\",\n  \"dependencies\": [\n    \"directx-headers\",\n    \"directxmath\",\n    {\n      \"name\": \"directxtk12\",\n      \"default-features\": false,\n      \"features\": [\n        \"gameinput\"\n      ]\n    }\n  ]\n}\n```\n\nIf using DirectX Tool Kit for Audio and GameInput, add the following:\n\n```json\n{\n  \"$schema\": \"https:\u002F\u002Fraw.githubusercontent.com\u002Fmicrosoft\u002Fvcpkg-tool\u002Fmain\u002Fdocs\u002Fvcpkg.schema.json\",\n  \"dependencies\": [\n    \"directx-headers\",\n    \"directxmath\",\n    {\n      \"name\": \"directxtk12\",\n      \"default-features\": false,\n      \"features\": [\n        \"gameinput\",\n        \"xaudio2-9\"\n      ]\n    }\n  ]\n}\n```\n\n### vcpkg (classic)\n\n```bash\nvcpkg install directxtk12\n```\n\nFeatures: `xaudio2-9` (DirectX Tool Kit for Audio using XAudio 2.9), `gameinput` (Using GameInput for gamepad, keyboard, and mouse), `tools` (command-line tools). Triplets: `x64-windows`, `arm64-windows`, etc.\n\nFor DLL usage (`x64-windows` default triplet), define `DIRECTX_TOOLKIT_IMPORT` in your consuming project. For static library usage, use `-static-md` triplet variants.\n\nCMakeLists.txt:\n\n```cmake\nfind_package(directxtk12 CONFIG REQUIRED)\ntarget_link_libraries(your_target PRIVATE Microsoft::DirectXTK12)\n```\n\nUse the [d3d12game_vcpkg](https:\u002F\u002Fgithub.com\u002Fwalbourn\u002Fdirectx-vs-templates\u002Ftree\u002Fmain\u002Fd3d12game_vcpkg) template as a starting point.\n\n### NuGet\n\nUse `directxtk12_desktop_win10` for Win32 desktop applications or `directxtk12_uwp` for UWP apps.\n\n### Project Reference\n\nAdd the appropriate `.vcxproj` from the `DirectXTK12\u002F` folder to your solution and add a project reference. Add the `DirectXTK12\\Inc` directory to your Additional Include Directories.\n\n## Minimum Requirements\n\n- Windows 10 May 2020 Update SDK (19041) or later\n- Visual Studio 2022, Visual Studio 2026, clang for Windows v12+, or MinGW 12.2\n- Direct3D Feature Level 11.0 or higher\n\n## Getting Started\n\nFor a full step-by-step walkthrough, see the [Getting Started](https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FDirectXTK12\u002Fwiki\u002FGetting-Started) tutorial on the wiki.\n\nA minimal initialization sequence:\n\n1. Create a `ID3D12Device`.\n2. Create a `GraphicsMemory` instance (one per device).\n3. Create a `DescriptorHeap` for SRV\u002FCBV\u002FUAV descriptors.\n4. Use `ResourceUploadBatch` to upload textures and static buffers to the GPU.\n5. Create rendering helpers (e.g., `SpriteBatch`, `Effects`, `Model`) with the appropriate pipeline state.\n6. Each frame, call `GraphicsMemory::Commit` after executing command lists.\n\n## API Reference\n\nThe public API is defined in the header files in the `Inc\u002F` directory. See the [reference overview](reference\u002Foverview.md) for a categorized summary of all classes and helpers.\n\nFull documentation for each class is available on the [GitHub wiki](https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FDirectXTK12\u002Fwiki).\n\nAPI signatures are defined in the public headers under the `Inc\u002F` directory. Always consult those headers for the authoritative function signatures, parameters, and SAL annotations.\n\n## Key Concepts\n\n### Resource Ownership\n\nDirectXTK12 classes follow RAII principles. Most objects are created with `std::make_unique` and destroyed automatically. COM resources are managed with `Microsoft::WRL::ComPtr`.\n\n### Device-Dependent vs Device-Independent\n\nMost DirectXTK12 objects are **device-dependent** — they are created with a `ID3D12Device*` and must be recreated if the device is lost. Plan your resource management accordingly.\n\n### Thread Safety\n\nDirectXTK12 rendering classes (SpriteBatch, Effects, PrimitiveBatch, etc.) are **not** thread-safe. Use one instance per thread, or synchronize access externally. Resource creation (texture loading, model loading) can be done from any thread.\n\n## Key Concepts for DirectX 12 Users\n\n- **Pipeline State Objects (PSOs)**: Unlike the DX11 version, DX12 requires explicit PSO management. Use `EffectPipelineStateDescription` and `RenderTargetState` to configure PSOs for effects and rendering helpers.\n- **Descriptor Heaps**: Use `DescriptorHeap` to manage shader-visible descriptor heaps. Most rendering classes require descriptor heap indices at draw time.\n- **Resource Upload**: GPU resources must be uploaded explicitly. `ResourceUploadBatch` batches uploads into a single command list for efficiency.\n- **Graphics Memory**: `GraphicsMemory` manages per-frame dynamic allocations (constant buffers, dynamic vertex\u002Findex buffers). Call `Commit` once per frame.\n\n## Namespace\n\nAll classes and functions reside in the `DirectX` namespace. Headers that contain Direct3D 12-specific types use `inline namespace DX12` to avoid conflicts when both DX11 and DX12 toolkits are linked together.\n\n```cpp\n#include \"SpriteBatch.h\"\n\n\u002F\u002F Usage:\nauto spriteBatch = std::make_unique\u003CDirectX::SpriteBatch>(device, ...);\n```\n\n## Common Patterns\n\n### Creating an Effect\n\n```cpp\n#include \"Effects.h\"\n#include \"EffectPipelineStateDescription.h\"\n#include \"RenderTargetState.h\"\n\nRenderTargetState rtState(DXGI_FORMAT_B8G8R8A8_UNORM, DXGI_FORMAT_D32_FLOAT);\n\nEffectPipelineStateDescription pd(\n    &VertexPositionNormalTexture::InputLayout,\n    CommonStates::Opaque,\n    CommonStates::DepthDefault,\n    CommonStates::CullCounterClockwise,\n    rtState);\n\nauto effect = std::make_unique\u003CBasicEffect>(device, EffectFlags::Lighting | EffectFlags::Texture, pd);\n```\n\n### Loading and Drawing a Model\n\n```cpp\n#include \"Model.h\"\n\nauto model = Model::CreateFromSDKMESH(device, L\"mymodel.sdkmesh\");\n\n\u002F\u002F Upload resources\nResourceUploadBatch upload(device);\nupload.Begin();\nmodel->LoadStaticBuffers(device, upload);\nupload.End(commandQueue).wait();\n\n\u002F\u002F Draw (simplified — see wiki for full parameter details)\nmodel->Draw(commandList, ...);\n```\n\n### Texture Loading\n\n```cpp\n#include \"DDSTextureLoader.h\"\n#include \"ResourceUploadBatch.h\"\n#include \"DescriptorHeap.h\"\n\nResourceUploadBatch upload(device);\nupload.Begin();\n\nMicrosoft::WRL::ComPtr\u003CID3D12Resource> texture;\nCreateDDSTextureFromFile(device, upload, L\"texture.dds\", texture.ReleaseAndGetAddressOf());\n\nupload.End(commandQueue).wait();\n```\n\n### Input Handling\n\n```cpp\n#include \"Keyboard.h\"\n#include \"Mouse.h\"\n#include \"GamePad.h\"\n\nauto keyboard = std::make_unique\u003CDirectX::Keyboard>();\nauto mouse = std::make_unique\u003CDirectX::Mouse>();\nauto gamePad = std::make_unique\u003CDirectX::GamePad>();\n\n\u002F\u002F In update loop\nauto kb = keyboard->GetState();\nif (kb.Escape)\n    PostQuitMessage(0);\n\nauto pad = gamePad->GetState(0);\nif (pad.IsConnected())\n{\n    if (pad.IsAPressed())\n        \u002F* jump *\u002F;\n}\n```\n\n### Audio\n\n```cpp\n#include \"Audio.h\"\n\n\u002F\u002F Create audio engine\nauto audioEngine = std::make_unique\u003CDirectX::AudioEngine>();\n\n\u002F\u002F Load and play a sound\nauto soundEffect = std::make_unique\u003CDirectX::SoundEffect>(audioEngine.get(), L\"explosion.wav\");\nsoundEffect->Play();\n\n\u002F\u002F Per-frame update\naudioEngine->Update();\n```\n\n> **Note**: Code examples above are simplified for clarity. Consult the [wiki tutorials](https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FDirectXTK12\u002Fwiki\u002FGetting-Started) and public headers in `Inc\u002F` for complete working code with all required parameters.\n\n## Further Reading\n\n- [DirectXTK Wiki](https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FDirectXTK12\u002Fwiki)\n- [DirectX Tool Kit for Audio](https:\u002F\u002Fgithub.com\u002FMicrosoft\u002FDirectXTK\u002Fwiki\u002FAudio)\n- [SimpleMath documentation](https:\u002F\u002Fgithub.com\u002FMicrosoft\u002FDirectXTK\u002Fwiki\u002FSimpleMath)\n- [Project templates](https:\u002F\u002Fgithub.com\u002Fwalbourn\u002Fdirectx-vs-templates\u002Ftree\u002Fmain\u002Fd3d12game_vcpkg)\n",{"name":5,"license":16,"metadata":39,"description":7},{"author":40,"version":41},"chuckw","1.0","main","f5b928460d91984b27029d064ee5a7dd4301513c","skills\u002Fdirectxtk12-usage",463,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FDirectXTK12","https:\u002F\u002Fwalbourn.github.io\u002Fdirectx-tool-kit-for-directx-12\u002F","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-10 06:07:25",{"source":9,"skillName":5,"commands":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add microsoft\u002FDirectXTK12 --skill directxtk12-usage",{"tool":58,"command":59},"bunx","bunx skills add microsoft\u002FDirectXTK12 --skill directxtk12-usage",{"tool":61,"command":62},"pnpm","pnpm dlx skills add microsoft\u002FDirectXTK12 --skill directxtk12-usage","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FDirectXTK12\u002Fblob\u002Fmain\u002Fskills\u002Fdirectxtk12-usage\u002FSKILL.md",true,[66],{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"reference\u002Foverview.md","REFERENCE","参考文档",9549,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FDirectXTK12\u002Fblob\u002Fmain\u002Fskills\u002Fdirectxtk12-usage\u002Freference\u002Foverview.md",[73,88],{"skillNo":74,"name":75,"nameZh":76,"description":77,"descriptionZh":78,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":79,"categories":80,"keywords":85,"publishedAt":34},"01M69BHFNQX5S5P47D6CSG5W72","directxtk12-tutorial","DirectX 12 工具包入门教程","Walk through the DirectX Tool Kit for DirectX 12 Getting Started tutorial step by step. Use this skill when asked to follow the tutorial, set up a new DirectX 12 project, or learn how to use DirectX Tool Kit for DX12 from scratch.","逐步演示 DirectX Tool Kit for DirectX 12 入门教程。当被要求按教程操作、搭建新的 DirectX 12 项目，或从零学习使用 DirectX Tool Kit for DX12 时使用本技能。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FDirectXTK12\u002Fblob\u002Fmain\u002Fskills\u002Fdirectxtk12-tutorial\u002FSKILL.md",[81,84],{"categoryNo":82,"categoryName":83,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQ6TM27KFNXBV69GEXBTVN","学习引导",{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},[86,87,32,33],"directxtk12 tutorial","learn",{"skillNo":89,"name":90,"nameZh":91,"description":92,"descriptionZh":93,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":94,"categories":95,"keywords":100,"publishedAt":34},"01M69BHC0NHDSS6KJFAB8B7SB4","release","DirectX 12 工具包版本发布指南","Guide for performing the DirectX Tool Kit for DirectX 12 release process. Use this skill when asked to help with releasing a new version, publishing packages, or updating ports.","执行 DirectX Tool Kit for DirectX 12 发布流程的指南。当被要求协助发布新版本、发布程序包或更新 ports（移植包）时使用本技能。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FDirectXTK12\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Frelease\u002FSKILL.md",[96,97],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":98,"categoryName":99,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQNXPY1AV6BSR5VKHDMWRH","部署与发布管理",[90,101,102,103],"release process","packages","help"]