原创 使用Metal繪製一個三角形

import UIKit import Metal import GLKit struct Vertex { let position: simd_float4 let color: simd_float4 } cla