Skip to main content

PIXEndEvent

Defines the end of a user-defined event.

Syntax

Parameters

context   
Type: void*
Context for the event, accepts ID3D12GraphicsCommandList\*, ID3D12GraphicsCommandList\*, and ID3D12XboxDmaCommandList\* (XBOX only).
The context associates the PIX marker with the D3D12 object it is set on.

Return value

Type: void

Remarks

Each call to PIXEndEvent must be paired with a corresponding call to PIXBeginEvent. The paired calls to PIXBeginEvent and PIXEndEvent must occur on the same thread. In the event of mismatched markers, PIX will throw a warning in a timing capture. Mismatched markers will cause an unexpected or unusable rendering of the PIX timeline. In a worst case scenario, mismatched event calls may cause PIX to crash.

Requirements

Header: pix3.h Library: pixevt.lib Supported platforms: XBOX One family consoles and XBOX Series consoles

See also

PIXBeginEvent
PIXEndEvent
PIX3
PIX (NDA topic)
Last modified on August 20, 2026