makeRenderCommandEncoder()
Create an object that encodes commands that perform graphics rendering operations and may be assigned to a different thread.
Declaration
func makeRenderCommandEncoder() -> (any MTLRenderCommandEncoder)?Return Value
A graphics rendering command encoder object
Discussion
The rendering commands encoded by MTLRenderCommandEncoder objects are executed in the order in which the MTLRenderCommandEncoder objects are created, not in the order they are ended.
See Also
Related Documentation
- Metal Shading Language Guide
- Metal Programming Guide