MCPcopy Create free account
hub / github.com/DragonJoker/RenderGraph / FramePassTimer

Method FramePassTimer

source/RenderGraph/FramePassTimer.cpp:34–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32 //*********************************************************************************************
33
34 FramePassTimer::FramePassTimer( GraphContext & context
35 , std::string const & name
36 , TimerScope scope
37 , VkQueryPool timerQueries
38 , uint32_t & baseQueryOffset )
39 : m_context{ context }
40 , m_scope{ scope }
41 , m_name{ name }
42 , m_timerQueries{ timerQueries }
43 , m_queries{ { { baseQueryOffset, false, false }, { baseQueryOffset + 2u, false, false } } }
44 {
45 baseQueryOffset += 4u;
46 }
47
48 FramePassTimer::FramePassTimer( GraphContext & context
49 , std::string const & name

Callers

nothing calls this directly

Calls 1

createQueryPoolFunction · 0.85

Tested by

no test coverage detected