c++ - Is there a way to call SetPrivateData on a ID3DUserDefinedAnnotation? -


i'm trying name every com object instantiated dxgi or d3d11 in application can viewed nicely in debuggers.

i'm stuck on id3duserdefinedannotation interface, queried id3d11devicecontext. cannot find interface exposing setprivatedata object.

what's way set debugger name of object?

queryinterface returns interfaces same object 1 being queried. means in order set debugger name of object referred id3duserdefinedannotation interface, need use id3d11devicecontext::setprivatedata. if necessary, can use id3duserdefinedannotation::queryinterface obtain id3d11devicecontext interface object.


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -