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

# makeRenderPipelineState(tileDescriptor:options:reflection:)

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

```
func makeRenderPipelineState(tileDescriptor descriptor: MTLTileRenderPipelineDescriptor, options: MTLPipelineOption, reflection: AutoreleasingUnsafeMutablePointer<MTLAutoreleasedRenderPipelineReflection?>?) throws -> any MTLRenderPipelineState
```

## Parameters

`descriptor`

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

`options`

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

`reflection`

In Swift, an optional pointer to an [`MTLAutoreleasedRenderPipelineReflection`](/documentation/Metal/MTLAutoreleasedRenderPipelineReflection) optional.
In Objective-C, a pointer to an [`MTLAutoreleasedRenderPipelineReflection`](/documentation/Metal/MTLAutoreleasedRenderPipelineReflection) instance.

    Pass     `nil`     in either language when you don’t need reflection data.
    Otherwise on return, if the method completes successfully,
    it assigns an [`MTLRenderPipelineReflection`](/documentation/Metal/MTLRenderPipelineReflection)     instance to the pointee,
    which contains the details about the function arguments.

## Return Value

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

## Discussion

---

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)