<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 11.0.0 -",
    "tvOS: 14.5.0 -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "Metal",
  "identifier" : "/documentation/Metal/MTLDevice/makeRenderPipelineState(tileDescriptor:options:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Metal"
    ],
    "preciseIdentifier" : "s:So9MTLDeviceP5MetalE23makeRenderPipelineState14tileDescriptor7optionsSo09MTLRendereF0_p_So0jE10ReflectionCSgtSo07MTLTiledeH0C_So17MTLPipelineOptionVtKF"
  },
  "title" : "makeRenderPipelineState(tileDescriptor:options:)"
}
-->

# makeRenderPipelineState(tileDescriptor:options:)

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

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

## Parameters

`tileDescriptor`

An [`MTLTileRenderPipelineDescriptor`](/documentation/Metal/MTLTileRenderPipelineDescriptor) instance.

`options`

An [`MTLPipelineOption`](/documentation/Metal/MTLPipelineOption) instance that represents the reflection information you want the method to generate.

## Return Value

A tuple with a new [`MTLTileRenderPipelineDescriptor`](/documentation/Metal/MTLTileRenderPipelineDescriptor) instance and an
[`MTLRenderPipelineReflection`](/documentation/Metal/MTLRenderPipelineReflection) optional instance if the method completes successfully;
otherwise Swift throws an error and Objective-C returns `nil`.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)