---
title: MTL4SpecializedFunctionDescriptor
framework: metal
role: symbol
role_heading: Class
path: metal/mtl4specializedfunctiondescriptor
---

# MTL4SpecializedFunctionDescriptor

Groups together properties to configure and create a specialized function by passing it to a factory method.

## Declaration

```swift
class MTL4SpecializedFunctionDescriptor
```

## Overview

Overview You can pass an instance of this class to any methods that accept a MTL4FunctionDescriptor parameter to provide extra configuration, such as function constants or a name.

## Topics

### Instance Properties

- [constantValues](metal/mtl4specializedfunctiondescriptor/constantvalues.md)
- [functionDescriptor](metal/mtl4specializedfunctiondescriptor/functiondescriptor.md)
- [specializedName](metal/mtl4specializedfunctiondescriptor/specializedname.md)

## Relationships

### Inherits From

- [MTL4FunctionDescriptor](metal/mtl4functiondescriptor.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Pipeline compilation

- [MTL4BlendState](metal/mtl4blendstate.md)
- [MTL4FunctionDescriptor](metal/mtl4functiondescriptor.md)
- [MTL4IndirectCommandBufferSupportState](metal/mtl4indirectcommandbuffersupportstate.md)
- [MTL4LibraryDescriptor](metal/mtl4librarydescriptor.md)
- [MTL4LibraryFunctionDescriptor](metal/mtl4libraryfunctiondescriptor.md)
- [MTL4LogicalToPhysicalColorAttachmentMappingState](metal/mtl4logicaltophysicalcolorattachmentmappingstate.md)
- [MTL4NewBinaryFunctionCompletionHandler](metal/mtl4newbinaryfunctioncompletionhandler.md)
- [MTL4NewMachineLearningPipelineStateCompletionHandler](metal/mtl4newmachinelearningpipelinestatecompletionhandler.md)
- [MTL4ShaderReflection](metal/mtl4shaderreflection.md)
- [MTL4AlphaToCoverageState](metal/mtl4alphatocoveragestate.md)
- [MTL4AlphaToOneState](metal/mtl4alphatoonestate.md)
- [MTL4StaticLinkingDescriptor](metal/mtl4staticlinkingdescriptor.md)
- [MTL4StitchedFunctionDescriptor](metal/mtl4stitchedfunctiondescriptor.md)
- [MTLFunctionReflection](metal/mtlfunctionreflection.md)
- [MTLNewDynamicLibraryCompletionHandler](metal/mtlnewdynamiclibrarycompletionhandler.md)
