Contents

init(rawValue:)

Creates a common counter set name from a raw value.

Declaration

init(rawValue: String)

Parameters

  • rawValue:

    The name of a counter set as a string.

Discussion

Use one of the MTLCommonCounterSet type’s static properties, such as timestamp, stageUtilization, and statistic instead of creating a common counter set instance yourself with this initializer.