A block of code that is invoked when the logic to create a
MTLRender object is completed.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 9.0+
The completion handler takes the following parameters:
A new render pipeline state object that contains the compiled graphics rendering state, or
nilif an error occurred.
A new reflection object that contains the reflection data about the vertex and fragment functions, including details about function arguments. If the pipeline state could not be compiled, this parameter is
An error object that describes the problem, or
nilif the operation succeeded.