---
title: "makeRenderPipelineState(descriptor:dynamicLinkingDescriptor:)"
framework: metal
role: symbol
role_heading: Instance Method
path: "metal/mtl4archive/makerenderpipelinestate(descriptor:dynamiclinkingdescriptor:)"
---

# makeRenderPipelineState(descriptor:dynamicLinkingDescriptor:)

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

## Declaration

```swift
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

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

## Discussion

Discussion You create any kind of render pipeline states with this method, including: Traditional render pipelines Mesh render pipelines Tile render pipelines
