I'm trying to name every COM object instantiated by DXGI or D3D11 in my application so they can be viewed nicely in debuggers.
I'm stuck on the ID3DUserDefinedAnnotation
interface, queried from the ID3D11DeviceContext
. I cannot find an interface exposing SetPrivateData
for this object.
What's the way to set the debugger name of this object?