Instance Method

makeRenderCommandEncoder()

Create an object that encodes commands that perform graphics rendering operations and may be assigned to a different thread.

Required.

Declaration

func makeRenderCommandEncoder() -> 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.