---
title: "makeRenderPipelineState(tileDescriptor:options:)"
framework: metal
role: symbol
role_heading: Instance Method
path: "metal/mtldevice/makerenderpipelinestate(tiledescriptor:options:)"
---

# makeRenderPipelineState(tileDescriptor:options:)

Synchronously creates a tile shader’s render pipeline state and reflection information in a tuple.

## Declaration

```swift
func makeRenderPipelineState(tileDescriptor: MTLTileRenderPipelineDescriptor, options: MTLPipelineOption) throws -> (any MTLRenderPipelineState, MTLRenderPipelineReflection?)
```

## Parameters

- `tileDescriptor`: An doc://com.apple.metal/documentation/Metal/MTLTileRenderPipelineDescriptor instance.
- `options`: An doc://com.apple.metal/documentation/Metal/MTLPipelineOption instance that represents the reflection information you want the method to generate.

## Return Value

Return Value A tuple with a new MTLTileRenderPipelineDescriptor instance and an MTLRenderPipelineReflection optional instance if the method completes successfully; otherwise Swift throws an error and Objective-C returns nil.

## See Also

### Creating tile render pipeline states

- [makeRenderPipelineState(tileDescriptor:options:reflection:)](metal/mtldevice/makerenderpipelinestate(tiledescriptor:options:reflection:).md)
- [makeRenderPipelineState(tileDescriptor:options:completionHandler:)](metal/mtldevice/makerenderpipelinestate(tiledescriptor:options:completionhandler:).md)
