Interface MTLCounterSet


  • public interface MTLCounterSet
    [@protocol] MTLCounterSet A collection of MTLCounters that the device can capture in a single pass.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      NSArray<?> counters()
      [@property] counters The set of counters captured by the counter set.
      java.lang.String name()
      [@property] name The name of the counter set.
    • Method Detail

      • counters

        NSArray<?> counters()
        [@property] counters The set of counters captured by the counter set. The counters array contains all the counters that will be written when a counter sample is collected. Counters that do not appear in this array will not be written to the resolved buffer when the samples are resolved, even if they appear in the corresponding resolved counter structure. Instead MTLCounterErrorValue will be written in the resolved buffer.
      • name

        java.lang.String name()
        [@property] name The name of the counter set.