---
title: library
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/custommaterial/postlightingshader/library
---

# library

The Metal library that contains this post-lighting shader function.

## Declaration

```swift
var library: any MTLLibrary { get set }
```
