---
title: "makeVisibleFunctionTable(descriptor:)"
framework: metal
role: symbol
role_heading: Instance Method
path: "metal/mtlcomputepipelinestate/makevisiblefunctiontable(descriptor:)"
---

# makeVisibleFunctionTable(descriptor:)

Creates a new visible function table.

## Declaration

```swift
func makeVisibleFunctionTable(descriptor: MTLVisibleFunctionTableDescriptor) -> (any MTLVisibleFunctionTable)?
```

## Parameters

- `descriptor`: An doc://com.apple.metal/documentation/Metal/MTLVisibleFunctionTableDescriptor instance that configures the created table.

## Return Value

Return Value A new visible function table, or nil if an error occurred in creation.

## See Also

### Creating function tables

- [makeIntersectionFunctionTable(descriptor:)](metal/mtlcomputepipelinestate/makeintersectionfunctiontable(descriptor:).md)
