Synchronously creates a new compute pipeline state object, and associated reflection information, using a function object.
- iOS 8.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 9.0+
A function object to be compiled into a compute pipeline state object.
The type of reflection information that should be returned.
Reflection data about the compute function, including details about function arguments.
An error object that describes the problem, or
nilif the operation succeeded.
A new object that can be used as a compute pipeline state.