diff options
author | José Fonseca <jfonseca@vmware.com> | 2015-02-06 15:36:40 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2015-02-06 15:36:40 +0000 |
commit | 3be2c67f33feb3e2076393c00284f5ce26b42d17 (patch) | |
tree | b42fd5c344ab94a366825a601d17349e0b4203e3 /docs | |
parent | e354d8de334a4ad52d131f0575ccf9f79e86cadd (diff) |
dxgiretrace: Replay SetPrivateData(WKPDID_D3DDebugObjectName) methods
Diffstat (limited to 'docs')
-rw-r--r-- | docs/USAGE.markdown | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/USAGE.markdown b/docs/USAGE.markdown index 2c56271d..d90dbe8c 100644 --- a/docs/USAGE.markdown +++ b/docs/USAGE.markdown @@ -274,6 +274,20 @@ For Direct3D applications you can follow the standard procedure for `ID3DUserDefinedAnnotation::EndEvent`, and `ID3DUserDefinedAnnotation::SetMarker` for D3D11.1 applications. +And for [naming objects](http://blogs.msdn.com/b/chuckw/archive/2010/04/15/object-naming.aspx) +which support `SetPrivateData` method: + + pObject->SetPrivateData(WKPDID_D3DDebugObjectName, strlen(szName), szName); + +Note that [programmatic capture interfaces](https://msdn.microsoft.com/en-us/library/hh780905.aspx) +are currently _not_ supported. + +See also: + +* <http://seanmiddleditch.com/direct3d-11-debug-api-tricks/> + +* <http://blogs.msdn.com/b/chuckw/archive/2012/11/30/direct3d-sdk-debug-layer-tricks.aspx> + ## Mask OpenGL features ## |