---
title: vertexFunctionDescriptor
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtl4renderpipelinedescriptor/vertexfunctiondescriptor
---

# vertexFunctionDescriptor

Assigns the shader function that this pipeline executes for each vertex.

## Declaration

```swift
@NSCopying var vertexFunctionDescriptor: MTL4FunctionDescriptor? { get set }
```
