Nv::Blast::ExtCustomProfiler Class Reference

#include <NvBlastExtCustomProfiler.h>

Inheritance diagram for Nv::Blast::ExtCustomProfiler:

Nv::Blast::ProfilerCallback

List of all members.

Public Member Functions

 ExtCustomProfiler ()
void setPlatformEnabled (bool enabled)
virtual void zoneEnd () override
virtual void zoneStart (const char *name) override


Detailed Description

Implements Nv::Blast::ProfilerCallback to serve the physx::PxProfilerCallback set in PxFoundation for PhysX Visual Debugger support and platform specific profilers like NVIDIA(R) NSight(TM).

Constructor & Destructor Documentation

Nv::Blast::ExtCustomProfiler::ExtCustomProfiler (  )  [inline]

Construct an ExtCustomProfiler with platform specific profiler signals disabled.


Member Function Documentation

void Nv::Blast::ExtCustomProfiler::setPlatformEnabled ( bool  enabled  )  [inline]

Enable or disable platform specific profiler signals. Disabled by default.

Parameters:
[in] enabled true enables, false disables platform profiler calls.

virtual void Nv::Blast::ExtCustomProfiler::zoneEnd (  )  [inline, override, virtual]

Called when the current profile zone ends.

Implements Nv::Blast::ProfilerCallback.

virtual void Nv::Blast::ExtCustomProfiler::zoneStart ( const char *  name  )  [inline, override, virtual]

Called when a nested profile zone starts.

Implements Nv::Blast::ProfilerCallback.


The documentation for this class was generated from the following file: