---
title: MTL4LibraryFunctionDescriptor
framework: metal
role: symbol
role_heading: Class
path: metal/mtl4libraryfunctiondescriptor
---

# MTL4LibraryFunctionDescriptor

Describes a shader function from a Metal library.

## Declaration

```swift
class MTL4LibraryFunctionDescriptor
```

## Topics

### Instance Properties

- [library](metal/mtl4libraryfunctiondescriptor/library.md)
- [name](metal/mtl4libraryfunctiondescriptor/name.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)
- [MTL4LogicalToPhysicalColorAttachmentMappingState](metal/mtl4logicaltophysicalcolorattachmentmappingstate.md)
- [MTL4NewBinaryFunctionCompletionHandler](metal/mtl4newbinaryfunctioncompletionhandler.md)
- [MTL4NewMachineLearningPipelineStateCompletionHandler](metal/mtl4newmachinelearningpipelinestatecompletionhandler.md)
- [MTL4ShaderReflection](metal/mtl4shaderreflection.md)
- [MTL4SpecializedFunctionDescriptor](metal/mtl4specializedfunctiondescriptor.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)
