ID3D12SharingContract interface (d3d12sdklayers.h)

Part of a contract between D3D11On12 diagnostic layers and graphics diagnostics tools. This interface facilitates diagnostics tools to capture information at a lower level than the DXGI swapchain.

You may want to use this interface to enable diagnostic tools to capture usage patterns that don't use DXGI swap chains for presentation. If so, you can access this interface via QueryInterface from a D3D12 command queue. Note that this interface is not supported when there are no diagnostic tools present, so your application mustn't rely on it existing.


The ID3D12SharingContract interface inherits from the IUnknown interface. ID3D12SharingContract also has these types of members:


The ID3D12SharingContract interface has these methods.


Shares a resource (or subresource) between the D3D layers and diagnostics tools.

Signals a shared fence between the D3D layers and diagnostics tools.


Target Platform Windows
Header d3d12sdklayers.h (include D3D12.h)

See also

Core interfaces, IUnknown