1 2 3 4 5 6 7 8
#include <metal_stdlib> using namespace metal; #include "shader_types.h" fragment float4 fragment_main(VertexOut in [[stage_in]]) { return in.color; }