ID3D12CommandQueue::BeginEvent method
Not intended to be called directly. Use the PIX event runtime to insert events into a command queue.
Syntax
void BeginEvent(
UINT Metadata,
const void *pData,
UINT Size
);
Parameters
Metadata
Type: UINT
Internal.
pData
Type: const void*
Internal.
Size
Type: UINT
Internal.
Return value
This method does not return a value.
Remarks
This is a support method used internally by the PIX event runtime. It is not intended to be called directly.
To mark the start of an instrumentation region at the current location within a D3D12 command queue, use the PIXBeginEvent function or PIXScopedEvent macro. These are provided by the WinPixEventRuntime NuGet package.
Requirements
Target Platform | Windows |
Header | d3d12.h |