Contents

MTLRasterizationRateMapDescriptor

An object that you use to configure new rasterization rate maps.

Declaration

class MTLRasterizationRateMapDescriptor

Overview

To create a new rate map, first create an MTLRasterizationRateMapDescriptor instance and set its property values. Then, create a new rasterization rate-map by calling an MTLDevice instance’s makeRasterizationRateMap(descriptor:) method.

When creating a rate map, Metal copies into it property values from the descriptor. You can reuse a descrptor by modifying its property values, which doesn’t affect the other rate-map instances that already exist.

Topics

Creating rate map descriptors

Identifying the rate map

Configuring the viewport size

Configuring the rate map layers

See Also

Rasterization settings