Creates an object to encode a rendering pass into the command buffer.
- iOS 8.0+
- macOS 10.11+
- tvOS 9.0+
A collection of attachments and associated state for the render pass.
A graphics rendering command encoder object.
MTLRender object provides methods to set up and perform a single graphics rendering pass.
After the command buffer creates this render command encoder, you can’t create other command encoders for this command buffer until you call the
end method of the