From 3be2c67f33feb3e2076393c00284f5ce26b42d17 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Fri, 6 Feb 2015 15:36:40 +0000 Subject: dxgiretrace: Replay SetPrivateData(WKPDID_D3DDebugObjectName) methods --- docs/USAGE.markdown | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'docs') 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: + +* + +* + ## Mask OpenGL features ## -- cgit v1.2.3