Language
Edit

PerformanceStatsSubsystem.Register(PerformanceStatsSubsystemCinfo) Method

Definition

Registers a PerformanceStats subsystem implementation based on the given subsystem parameters.

public static bool Register(MixedReality.Toolkit.Diagnostics.PerformanceStatsSubsystemCinfo performanceStatsSubsystemParams);
static member Register : MixedReality.Toolkit.Diagnostics.PerformanceStatsSubsystemCinfo -> bool
Public Shared Function Register (performanceStatsSubsystemParams As PerformanceStatsSubsystemCinfo) As Boolean

Parameters

performanceStatsSubsystemParams
PerformanceStatsSubsystemCinfo

The parameters defining the PerformanceStats subsystem functionality implemented by the subsystem provider.

Returns

true if the subsystem implementation is registered. Otherwise, false.

Exceptions

Thrown when the values specified in the PerformanceStatsSubsystemCinfo parameter are invalid. Typically, this will occur in the following cases:

Applies to