Metal Performance Shaders Graph sample architecture
Source-backed, high-level architecture notes for Apple sample-code pages grouped in the Metal Performance Shaders Graph folder.
- Catalog module label:
Metal Performance Shaders Graph - Coverage: 3 / 3 sample pages documented
- Source policy: archive hashes and extracted-tree references are verified locally before analysis
Samples
| Sample | Platforms | High-level architecture | Documented patterns |
|---|---|---|---|
| Adding custom functions to a shader graph | iOS, iPadOS, Mac Catalyst | A Swift sample with the source-visible chain AppDelegate → ViewController → MetalPerformanceShadersGraph / Metal APIs. |
View-controller organization, Delegate or data-source callbacks |
| Filtering images with MPSGraph FFT operations | macOS | A Swift sample with the source-visible chain MPSGraphFFTSample → ContentView → MetalPerformanceShadersGraph APIs. |
— |
| Training a neural network using MPSGraph | iOS, iPadOS, Mac Catalyst | A Swift sample with the source-visible chain AppDelegate → ViewController → MetalPerformanceShaders / MetalPerformanceShadersGraph APIs. |
View-controller organization, Protocol-oriented abstraction, Delegate or data-source callbacks |
Cross-sample signals
Recurring documented patterns
| Pattern label | Sample documents |
|---|---|
| View-controller organization | 2 |
| Delegate or data-source callbacks | 2 |
Type-role naming evidence
Counts below are declaration-name suffixes, not inferred patterns.
| Role suffix | Distinct declarations across samples |
|---|---|
Delegate |
4 |
Controller |
2 |
App |
1 |
View |
1 |
Swift access-control evidence
These are declaration occurrences in scanned Swift source, including implicit internal declarations.
| Access level | Occurrences |
|---|---|
implicit internal |
419 |
References
Generated from the verified local catalog and completed Markdown documents.