The Swift Package Index logo.Swift Package Index

When working with an Xcode project:

When working with a Swift Package Manager manifest:

Select a package version:

v1.1.1

main


Swift Build Tool Plugin that automatically detects Metal shader files in your project, generates a Swift enum listing all available shaders, and creates a type-safe extension on MTLLibrary. This allows you to call shader functions using a typed interface like: `library.makeFunction(.myShader)`


Compatibility

Full Build Results