Type Alias

MTLCommonCounter

Names of common counters.

Declaration

typedef NSString *const MTLCommonCounter;

Topics

Specifying a Counter

MTLCommonCounterTimestamp

A counter that holds a timestamp.

MTLCommonCounterVertexCycles

A counter that holds the number of cycles spent in vertex shaders.

MTLCommonCounterFragmentCycles

A counter that holds the number of cycles spent in fragment shaders.

MTLCommonCounterTessellationCycles

A counter that holds the number of cycles spent in the tesselation stage.

MTLCommonCounterPostTessellationVertexCycles

A counter that holds the number of cycles spent in post-tessellation vertex shaders.

MTLCommonCounterRenderTargetWriteCycles

A counter that holds the number of cycles spent writing data to render targets.

MTLCommonCounterTotalCycles

A counter that holds the number of cycles spent in the GPU.

MTLCommonCounterVertexInvocations

A counter that holds the number of vertices processed by the vertex shader.

MTLCommonCounterTessellationInputPatches

A counter that holds the number of tessellation patches sent to the tessellation stage.

MTLCommonCounterPostTessellationVertexInvocations

A counter that holds the number of vertices sent to the post-tessellation vertex shader.

MTLCommonCounterClipperInvocations

A counter that holds the number of primitives sent to the clip stage.

MTLCommonCounterClipperPrimitivesOut

A counter that holds the number of primitives generated by the clip stage.

MTLCommonCounterFragmentInvocations

A counter that holds the number of fragments generated by the rasterizer.

MTLCommonCounterFragmentsPassed

A counter that holds the number of fragments that pass the scissor, depth, and stencil tests.

MTLCommonCounterComputeKernelInvocations

A counter that holds the number of compute kernel invocations.

See Also

Counters and Counter Sets

MTLCommonCounterSet

Options for specifying commonly used sets of counters.

MTLCounterSet

A set of counters to sample.

MTLCounter

A descriptor for a single counter.