Synchronously creates a render pipeline state object that contains compiled graphics rendering pipeline state and returns additional reflection information.
- iOS 8.0+
- macOS 10.11+
- tvOS 9.0+
A descriptor object that contains graphics rendering state properties, including rasterization, visibility, programmable shader, and blend state.
The type of reflection information to return.
On return, the location this parameter points to is filled with a new 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, then
On input, a pointer to an error object variable. On output, an error object that describes any error that occurred, or
nilif the operation succeeded.
A new object with the compiled graphics rendering pipeline state.