MCPcopy Create free account
hub / github.com/baldurk/renderdoc / GetParentMarkerPath

Function GetParentMarkerPath

qrenderdoc/Code/QRDUtils.cpp:1933–1954  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1931}
1932
1933QString GetParentMarkerPath(ICaptureContext &ctx, uint32_t eventId, bool &hasParent)
1934{
1935 const ActionDescription *parent = GetParentMarker(ctx, eventId);
1936
1937 QString markerPath;
1938 while(parent)
1939 {
1940 if(parent->flags & ActionFlags::PushMarker)
1941 {
1942 QString prevPath = markerPath;
1943 markerPath = parent->customName;
1944 if(!prevPath.isEmpty())
1945 {
1946 markerPath += lit(" -> ");
1947 markerPath += prevPath;
1948 hasParent = true;
1949 }
1950 }
1951 parent = parent->parent;
1952 }
1953 return markerPath;
1954}
1955
1956uint32_t GetParentMarkerEventId(ICaptureContext &ctx, uint32_t eventId)
1957{

Callers 1

InspectMethod · 0.85

Calls 2

GetParentMarkerFunction · 0.85
isEmptyMethod · 0.45

Tested by 1

InspectMethod · 0.68