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

Method GetPostVSData

renderdoc/replay/replay_controller.cpp:537–555  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

535}
536
537MeshFormat ReplayController::GetPostVSData(uint32_t instID, uint32_t viewID, MeshDataStage stage)
538{
539 CHECK_REPLAY_THREAD();
540
541 ActionDescription *action = GetActionByEID(m_EventID);
542
543 if(action == NULL || !(action->flags & (ActionFlags::MeshDispatch | ActionFlags::Drawcall)))
544 return MeshFormat();
545
546 instID = RDCMIN(instID, action->numInstances - 1);
547
548 m_pDevice->InitPostVSBuffers(action->eventId);
549 FatalErrorCheck();
550
551 MeshFormat ret = m_pDevice->GetPostVSBuffers(action->eventId, instID, viewID, stage);
552 FatalErrorCheck();
553
554 return ret;
555}
556
557bytebuf ReplayController::GetBufferData(ResourceId buff, uint64_t offset, uint64_t len)
558{

Callers 7

OnEventChangedMethod · 0.80
sampleCodeFunction · 0.80
get_postvsMethod · 0.80
get_task_dataMethod · 0.80
check_captureMethod · 0.80
mesh_outputMethod · 0.80
check_captureMethod · 0.80

Calls 4

MeshFormatFunction · 0.85
RDCMINFunction · 0.85
InitPostVSBuffersMethod · 0.45
GetPostVSBuffersMethod · 0.45

Tested by 3

get_postvsMethod · 0.64
get_task_dataMethod · 0.64
mesh_outputMethod · 0.64