SpiecsEngine
 
Loading...
Searching...
No Matches

◆ NsightPerfGPUProfilerContinuous()

Spices::NsightPerfGPUProfilerContinuous::NsightPerfGPUProfilerContinuous ( VulkanState & state)

Constructor Function.

Parameters
[in]stateVulkanState.

Create this in construct.

End Session after initalized, for Session can not be owned by multiple instance.

Create this in construct.

End Session after initalized, for Session can not be owned by multiple instance.

Definition at line 30 of file NsightPerfGPUProfilerContinuous.cpp.

31 : m_VulkanState(state)
32 , m_IsInSession(false)
34 {
36
40 Create(state);
41
46 Reset();
47 }
#define SPICES_PROFILE_ZONE
void Create(VulkanState &state)
Begin this Session.
bool m_EnableCaptureNextFrame
True if want capture next frame.

References Create(), m_EnableCaptureNextFrame, m_IsInSession, m_VulkanState, and Reset().