g_carbProfilerMask

Defined in carb/profiler/IProfiler.h

std::atomic_uint64_t g_carbProfilerMask

A global variable used as a cache for the result of carb::profiler::IProfiler::getCaptureMask().

carb::profiler::registerProfilerForClient() will register a callback function with the profiler (if supported) that will keep this variable updated. This variable can be checked inline before calling into the IProfiler interface.