Structure

MTLCounterResultStatistic

The result from sampling a statistics counter set.

Declaration

struct MTLCounterResultStatistic

Topics

Reading Statistics Values

var tessellationInputPatches: UInt64

The number of tessellation patches passed into the tessellation stage.

var vertexInvocations: UInt64

The number of times vertex shaders were called.

var postTessellationVertexInvocations: UInt64

The number of vertices created by the tessellation stage.

var clipperInvocations: UInt64

The number of primitives sent to the clip stage.

var clipperPrimitivesOut: UInt64

The number of primitives emitted by the clip stage.

var fragmentInvocations: UInt64

The number of times fragment shaders were called.

var fragmentsPassed: UInt64

The number of fragments passed to the visibility and blend stages.

var computeKernelInvocations: UInt64

The number of times compute kernels were called.

See Also

Sample Results

struct MTLCounterResultStageUtilization

The result from sampling a stage-utilization counter set.

struct MTLCounterResultTimestamp

The result from sampling a timestamp counter set.