Creates a new shader object by loading the source for a fragment shader from a file stored in the app’s bundle.
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
The name of the fragment shader to load. The file must be present in your app bundle with the same name and a
A newly initialized shader object whose initial source is loaded from the shader file.