I am attempting to use ID3DUserDefinedAnnotation to visualize regions of calls in RenderDoc. When I use it though I will always get resource leaks at the application. The call to QueryInterface always succeeds but according to the documentation BeginEvent will return -1 when not running under a Direct3D profiling tool. When I run in RenderDoc I see my regions so I believe it is working, although I am not sure how to view the output log from RenderDoc so I do not know if I am leaking resources there. I verified that when I create my device I am using …
↧