Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Notifies diagnostic tools about an end-of-frame operation without the use of a swap chain. Calling this API enables usage of tools like PIX with applications that either don't render to a window, or that do so in non-traditional ways.
Syntax
void Present(
[in] ID3D12Resource *pResource,
UINT Subresource,
HWND window
);
Parameters
[in] pResource
Type: ID3D12Resource*
A pointer to the resource that contains the final frame contents. This resource is treated as the back buffer of the Present.
Subresource
Type: UINT
An unsigned 32bit subresource id.
window
If provided, indicates which window the tools should use for displaying additional diagnostic information.
Return value
None
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d12sdklayers.h (include D3D12.h) |