---
title: MTLFunctionReflection
framework: metal
role: symbol
role_heading: Class
path: metal/mtlfunctionreflection
---

# MTLFunctionReflection

Represents a reflection object containing information about a function in a Metal library.

## Declaration

```swift
class MTLFunctionReflection
```

## Topics

### Instance Properties

- [bindings](metal/mtlfunctionreflection/bindings.md)
- [userAnnotation](metal/mtlfunctionreflection/userannotation.md)

## 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)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.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)
- [MTL4SpecializedFunctionDescriptor](metal/mtl4specializedfunctiondescriptor.md)
- [MTL4AlphaToCoverageState](metal/mtl4alphatocoveragestate.md)
- [MTL4AlphaToOneState](metal/mtl4alphatoonestate.md)
- [MTL4StaticLinkingDescriptor](metal/mtl4staticlinkingdescriptor.md)
- [MTL4StitchedFunctionDescriptor](metal/mtl4stitchedfunctiondescriptor.md)
- [MTLNewDynamicLibraryCompletionHandler](metal/mtlnewdynamiclibrarycompletionhandler.md)
