Navigation
Unreal Engine C++ API Reference > Runtime > PerfCounters > IPerfCounters
References
Module | PerfCounters |
Header | /Engine/Source/Runtime/PerfCounters/Public/PerfCountersModule.h |
Include | #include "PerfCountersModule.h" |
int32 Increment
&40;
const FString & Name,
int32 Add,
int32 DefaultValue,
uint32 Flags
&41;
Remarks
Convenience method for incrementing a transient counter. current value (i.e. after the increment)
Parameters
Name | Description |
---|---|
Name | the name of the counter |
Add | value of the increment (will be added to the counter, can be negative) |
DefaultValue | if the counter did not exist or was cleared, this is what it will be initialized to before performing the addition |
Flags | flags for the counter |