API Notes: MetalPerformanceShaders 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 MetalPerformanceShaders package (that is, import MetalPerformanceShaders).
New in macOS 10.13.
API Notes#
`MPSPackedFloat3`#
In Objetive-C this type is a union. In Python the type is presented as a struct with 3 float fields (“x”, “y”, “z”), that is one of the two halves of the union.