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

Method GetBufferData

renderdoc/replay/replay_controller.cpp:557–570  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

555}
556
557bytebuf ReplayController::GetBufferData(ResourceId buff, uint64_t offset, uint64_t len)
558{
559 CHECK_REPLAY_THREAD();
560
561 bytebuf retData;
562
563 if(buff == ResourceId())
564 return retData;
565
566 m_pDevice->GetBufferData(buff, offset, len, retData);
567 FatalErrorCheck();
568
569 return retData;
570}
571
572bytebuf ReplayController::GetTextureData(ResourceId tex, const Subresource &sub)
573{

Callers 1

Calls 1

ResourceIdFunction · 0.50

Tested by

no test coverage detected