Contents

rasterizationRateMap

Assigns an optional variable rasterization rate map that Metal uses in the render pass.

Declaration

var rasterizationRateMap: (any MTLRasterizationRateMap)? { get set }

Discussion

Enabling variable rasterization rate allows Metal to decrease the rasterization rate, typically in unimportant regions of color attachments, to accelerate processing.

When set to nil, the default, Metal doesn’t use variable rasterization rate.