> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Mesh and Texture Viewer 擴充性

> Mesh and Texture Viewer 擴充性

[簡報影片](https://developer.microsoft.com/games/events/devdays/en-dev-days-2024/mesh-and-texture-viewer-extensibility/)

## 摘要說明

PIX 包含一項新的擴充性功能，可用於建立實用的自訂視覺化效果，特別是針對紋理和網格。本簡報提供一些實際範例，說明如何使用此功能撰寫簡單的計算著色器，以建立您自己的視覺化效果。

## 摘要

* Mesh and Texture Viewer 擴充性：您可以使用此檢視器，透過自訂計算著色器重新解譯緩衝區或影像，提供新的視覺化方法。
* 擴充性程式設計模型：說明程式設計模型、著色器程式碼插入、透過特殊暫存器存取資源，以及將資料傳回檢視器的函式，為開發人員提供穩健的架構。
* 示範：簡報展示數個視覺化工具範例，例如 depthLogReverseCs.hlsl 和 stencilPalletizedCs.hlsl，展現檢視器的多功能性。

## 學習目標

* 了解 PIX for XBOX 中 Mesh and Texture Viewer 的擴充性。
* 了解如何使用專用 API 輸出資料，這些資料會在檢視器中顯示為網格或紋理。
* 認識擴充性程式設計模型，以及 PIX 在編譯著色器時如何插入內部實作程式碼。
* 探索如何使用特殊暫存器存取所選繪製或分派可用的資源。
* 了解如何使用特殊函式將結果資料傳回 Mesh and Texture Viewer。
* 檢閱視覺化工具範例，例如 depthLogReverseCs.hlsl、stencilPalletizedCs.hlsl、arrayQuiltCs.hlsl、cubemapUnwrapCs.hlsl 和 infNanCs.hlsl。


## Related topics

- [PIX extensibility APIs (HLSL and mesh viewer)](/tools/tools-console/pix/extensibility/index.md)
- [NDA 主題目錄 - Microsoft Learn 線上連結](/zh-TW/nda/nda-topic-directory.md)
- [NDA topic directory - live Microsoft Learn links](/nda/nda-topic-directory.md)
- [PIX GPU capture and performance analysis](/tools/tools-console/pix/gpu/index.md)
- [Xdd2024](/build/core-features/graphics/overviews/presentations/xdd2024/index.md)
