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

Function GetParentMarkerEventId

qrenderdoc/Code/QRDUtils.cpp:1956–1960  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1954}
1955
1956uint32_t GetParentMarkerEventId(ICaptureContext &ctx, uint32_t eventId)
1957{
1958 const ActionDescription *parent = GetParentMarker(ctx, eventId);
1959 return parent ? parent->eventId : 0;
1960}
1961
1962void CombineUsageEvents(ICaptureContext &ctx, const rdcarray<EventUsage> &usage, bool splitByMarker,
1963 std::function<void(uint32_t startEID, uint32_t endEID, ResourceUsage use)> callback)

Callers 1

CombineUsageEventsFunction · 0.85

Calls 1

GetParentMarkerFunction · 0.85

Tested by

no test coverage detected