> ## 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.

# PIXEndEvent

> PIXEndEvent

# PIXEndEvent

ユーザー定義イベントの終了を定義します。

## 構文

```cpp theme={null}
void PIXEndEvent(  
         void* context  
)  
```

### パラメーター

*context*   \
Type: void\*

イベントのコンテキストです。`ID3D12GraphicsCommandList\*`、`ID3D12GraphicsCommandList\*`、および `ID3D12XboxDmaCommandList\*` (XBOX のみ) を受け付けます。\
*context* は、PIX マーカーを設定先の D3D12 オブジェクトに関連付けます。

### 戻り値

Type: void

## 解説

`PIXEndEvent` の呼び出しには、対応する [PIXBeginEvent](/reference/tools/pix3/functions/pixbeginevent) の呼び出しが必要です。[PIXBeginEvent](/reference/tools/pix3/functions/pixbeginevent) と `PIXEndEvent` のペアの呼び出しは、同じスレッドで行う必要があります。マーカーが一致しない場合、PIX はタイミング キャプチャで警告を発生させます。マーカーの不一致は、PIX タイムラインの予期しない、または使用できないレンダリングを引き起こします。
最悪の場合、イベント呼び出しの不一致によって PIX がクラッシュすることがあります。

## 要件

**ヘッダー:** pix3.h

**ライブラリ:** pixevt.lib

**サポートされているプラットフォーム:** XBOX One ファミリ本体および XBOX Series 本体

## 関連項目

[PIXBeginEvent](/reference/tools/pix3/functions/pixbeginevent)\
[PIXEndEvent](/reference/tools/pix3/functions/pixendevent)\
[PIX3](/reference/tools/pix3/pix3_members)\
[PIX (NDA トピック)](/tools/tools-console/pix/pix)


## Related topics

- [PIXEndEvent 関数](/ja-jp/reference/tools/pix3/functions/pixendevent-overloads.md)
- [PIXEndEvent リファレンス](/ja-jp/reference/tools/pix3/functions/pixendevent.md)
- [PIXEndRetailEvent](/ja-jp/reference/tools/pix3/functions/pixendretailevent.md)
- [PIXBeginEvent 関数](/ja-jp/reference/tools/pix3/functions/pixbeginevent-overloads.md)
- [PIXBeginEvent の概要](/ja-jp/reference/tools/pix3/functions/pixbeginevent_4.md)
