| void Spices::GpuCrashTracker::Initialize | ( | ) |
Initialize the GPU crash dump tracker.
Enable GPU crash dumps and set up the callbacks for crash dump notifications, shader debug information notifications, and providing additional crash dump description data.Only the crash dump callback is mandatory. The other two callbacks are optional and can be omitted, by passing nullptr, if the corresponding functionality is not used. The DeferDebugInfoCallbacks flag enables caching of shader debug information data in memory. If the flag is set, ShaderDebugInfoCallback will be called only in the event of a crash, right before GpuCrashDumpCallback. If the flag is not set, ShaderDebugInfoCallback will be called for every shader that is compiled.
Enable GPU crash dumps and set up the callbacks for crash dump notifications, shader debug information notifications, and providing additional crash dump description data.Only the crash dump callback is mandatory. The other two callbacks are optional and can be omitted, by passing nullptr, if the corresponding functionality is not used. The DeferDebugInfoCallbacks flag enables caching of shader debug information data in memory. If the flag is set, ShaderDebugInfoCallback will be called only in the event of a crash, right before GpuCrashDumpCallback. If the flag is not set, ShaderDebugInfoCallback will be called for every shader that is compiled.
Definition at line 43 of file NsightAftermathGpuCrashTracker.cpp.
References m_Initialized.