ProfilerRecorderOptions

enumeration

Cambiar al Manual

Descripción

ProfilerRecorder lifecycle and collection options.

Variables

StartImmediatelyUse to start data collection immediately upon ProfilerRecorder initialization.
KeepAliveDuringDomainReloadUse to keep the ProfilerRecorder unmanaged instance running across a Unity domain reload.
CollectOnlyOnCurrentThreadUse to collect samples only on the thread ProfilerRecorder was initialized on.
WrapAroundWhenCapacityReachedUse to allow sample value overwrite when ProfilerRecorder capacity is exceeded.
SumAllSamplesInFrameUse to sum all samples within a frame and collect those as one sample per frame.
DefaultDefault initialization options. Equivalent to (SumSamplesInFrame | WrapAroundWhenCapacityReached).