RenderDoc event names

Discussion area about developing with Ogre-Next (2.1, 2.2 and beyond)


Post Reply
User avatar
TaaTT4
OGRE Contributor
OGRE Contributor
Posts: 267
Joined: Wed Apr 23, 2014 3:49 pm
Location: Bologna, Italy
x 75
Contact:

RenderDoc event names

Post by TaaTT4 »

Is there an easy way to customize/control the event names and how they're grouped by RenderDoc?
Image

Ideal solution would be to group draw calls by pass and name these groups with the pass name :D

Senior programmer at 505 Games; former senior engine programmer at Sandbox Games
Worked on: Racecraft EsportRacecraft Coin-Op, Victory: The Age of Racing

User avatar
dark_sylinc
OGRE Team Member
OGRE Team Member
Posts: 5296
Joined: Sat Jul 21, 2007 4:55 pm
Location: Buenos Aires, Argentina
x 1278
Contact:

Re: RenderDoc event names

Post by dark_sylinc »

Passes already have names (see CompositorPassDef::mProfilingId).

It's just a matter of hooking it up. I believe for D3D11, RenderDoc relies on ID3DUserDefinedAnnotation

In 2.2 we started using ogreGlObjectLabel for several Objects so they appear with names on RenderDoc, but I don't think we did the same for D3D11 yet; and I don't think there's anything done for 2.1

Anyhow... it's not that much work to add it.
Post Reply