<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Metal",
  "identifier" : "/documentation/Metal/MTL4Archive/makeRenderPipelineState(descriptor:dynamicLinkingDescriptor:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Metal"
    ],
    "preciseIdentifier" : "s:So11MTL4ArchiveP5MetalE23makeRenderPipelineState10descriptor24dynamicLinkingDescriptorSo09MTLRenderfG0_pSo0afK0C_So0aef7DynamicjK0CSgtKF"
  },
  "title" : "makeRenderPipelineState(descriptor:dynamicLinkingDescriptor:)"
}
-->

# makeRenderPipelineState(descriptor:dynamicLinkingDescriptor:)

Creates a render pipeline state from the archive with a render descriptor and a dynamic linking descriptor.

```
func makeRenderPipelineState(descriptor: MTL4PipelineDescriptor, dynamicLinkingDescriptor: MTL4RenderPipelineDynamicLinkingDescriptor? = nil) throws -> any MTLRenderPipelineState
```

## Parameters

`descriptor`

A render pipeline descriptor.

`dynamicLinkingDescriptor`

A descriptor that provides additional properties to link other functions with the pipeline.

## Return Value

A compute pipeline state object upon success, otherwise this function throws.

## Discussion

You create any kind of render pipeline states with this method, including:

- Traditional render pipelines
- Mesh render pipelines
- Tile render pipelines

---

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)