API Notes: Metal framework

Apple documentation

The full API is described in Appleā€™s documentation, both the C and Objective-C APIs are available (but see the API Notes below).

These bindings are accessed through the Metal package (that is, import Metal).

API Notes

Note

This framework is only available on macOS 10.11 and later for 64-bit binaries.

The full API is available from Python.

-[MTLRasterizationRateLayerDescriptor horizontalSampleStorage]

It is generally safer to use MTLRasterizationRateLayerDescriptor.horizontal instead

-[MTLRasterizationRateLayerDescriptor verticalSampleStorage]

It is generally safer to use MTLRasterizationRateLayerDescriptor.vertical instead