MCPcopy Create free account
hub / github.com/TheRealMJP/DeferredTexturing / ProfileBlock

Method ProfileBlock

SampleFramework12/v1.00/Graphics/Profiler.cpp:308–311  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

306// == ProfileBlock ================================================================================
307
308ProfileBlock::ProfileBlock(ID3D12GraphicsCommandList* cmdList_, const char* name) : cmdList(cmdList_)
309{
310 idx = Profiler::GlobalProfiler.StartProfile(cmdList, name);
311}
312
313ProfileBlock::~ProfileBlock()
314{

Callers

nothing calls this directly

Calls 1

StartProfileMethod · 0.80

Tested by

no test coverage detected