---
title: MTLFunctionStitchingAttributeAlwaysInline
framework: metal
role: symbol
role_heading: Class
path: metal/mtlfunctionstitchingattributealwaysinline
---

# MTLFunctionStitchingAttributeAlwaysInline

An attribute to specify that Metal needs to inline all of the function calls when generating the stitched function.

## Declaration

```swift
class MTLFunctionStitchingAttributeAlwaysInline
```

## Overview

Overview To inline functions in a call graph, instantiate an instance of this class and assign it as an attribute on the MTLFunctionStitchingGraph.

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [MTLFunctionStitchingAttribute](metal/mtlfunctionstitchingattribute.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Related Documentation

- [attributes](metal/mtlfunctionstitchinggraph/attributes.md)

### Stitched function libraries

- [Customizing shaders using function pointers and stitching](metal/customizing-shaders-using-function-pointers-and-stitching.md)
- [MTLStitchedLibraryDescriptor](metal/mtlstitchedlibrarydescriptor.md)
- [MTLFunctionStitchingGraph](metal/mtlfunctionstitchinggraph.md)
- [MTLFunctionStitchingInputNode](metal/mtlfunctionstitchinginputnode.md)
- [MTLFunctionStitchingFunctionNode](metal/mtlfunctionstitchingfunctionnode.md)
- [MTLFunctionStitchingNode](metal/mtlfunctionstitchingnode.md)
- [MTLFunctionStitchingAttribute](metal/mtlfunctionstitchingattribute.md)
