---
title: makeRenderCommandEncoder()
framework: metal
role: symbol
role_heading: Instance Method
path: metal/mtlparallelrendercommandencoder/makerendercommandencoder()
---

# makeRenderCommandEncoder()

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

## Declaration

```swift
func makeRenderCommandEncoder() -> (any MTLRenderCommandEncoder)?
```

## Return Value

Return Value A graphics rendering command encoder object

## Discussion

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](apple-archive/documentation/Metal/Reference/MetalShadingLanguageGuide/Introduction.md)
- [Metal Programming Guide](apple-archive/documentation/Miscellaneous/Conceptual/MetalProgrammingGuide/Introduction.md)
