---
title: "bundle(_:)"
framework: swiftui
role: symbol
role_heading: Type Method
path: "swiftui/shaderlibrary/bundle(_:)"
---

# bundle(_:)

Returns the default shader library of the specified bundle.

## Declaration

```swift
static func bundle(_ bundle: Bundle) -> ShaderLibrary
```

## See Also

### Getting the default shader library

- [default](swiftui/shaderlibrary/default.md)
