Custom Parameters and Animation with Metal Shaders
Pass custom parameters from SwiftUI to Metal shaders and animate them. Implement a chessboard shader taking tileSize and fillColor via .float()/.color() (order matters; Color → half4). Use TimelineView to feed time and create smooth sine‑wave RGB animation.