mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-27 23:24:32 +00:00
18 lines
414 B
Metal
18 lines
414 B
Metal
//
|
|
// visualizer.metal
|
|
// DynamicIsland
|
|
//
|
|
// Created by Harsh Vardhan Goswami on 28/08/24.
|
|
//
|
|
|
|
#include <metal_stdlib>
|
|
using namespace metal;
|
|
|
|
vertex float4 vertexShader(uint vertexID [[vertex_id]],
|
|
constant float2 *vertices [[buffer(0)]]) {
|
|
return float4(vertices[vertexID], 0, 1);
|
|
}
|
|
|
|
fragment float4 fragmentShader(constant float4 &color [[buffer(0)]]) {
|
|
return color;
|
|
}
|