sdk/globals/include/NvBlastProfiler.h File Reference

#include "NvBlastPreprocessor.h"

Go to the source code of this file.

Classes

class  Nv::Blast::ProfilerCallback
struct  Nv::Blast::ProfilerDetail

Namespaces

namespace  Nv
namespace  Nv::Blast

Functions

NVBLAST_API void NvBlastProfilerSetCallback (Nv::Blast::ProfilerCallback *pcb)
NVBLAST_API void NvBlastProfilerSetDetail (Nv::Blast::ProfilerDetail::Level)


Function Documentation

NVBLAST_API void NvBlastProfilerSetCallback ( Nv::Blast::ProfilerCallback pcb  ) 

Profiler features are only active in checked, debug and profile builds. Set a custom profiler callback. May be nullptr (the default).

NVBLAST_API void NvBlastProfilerSetDetail ( Nv::Blast::ProfilerDetail::Level   ) 

Sets the depth of reported profile zones. Higher levels (more nesting) of instrumentation can have a significant impact. Defaults to Nv::Blast::ProfilerDetail::Level::LOW.