MTLCounterDontSample
A sentinel value that instructs an encoder to skip sampling a counter as the GPU runs the encoder’s pass.
Declaration
var MTLCounterDontSample: Int { get }Mentioned in
Discussion
You can skip sampling at specific stages by assigning this sentinel value to the following properties instead of an offset to a counter sample buffer:
Types | Properties |
|---|---|
Startofvertexsampleindex [Image] Endofvertexsampleindex [Image] Startoffragmentsampleindex [Image] Endoffragmentsampleindex | |
Mtlaccelerationstructurepasssamplebufferattachmentdescriptor |