In swift file, vertex data was declared:
struct Vertex {
let position: vector_float4
let color: vector_float4
}
I want to access this struct in metal file, is it possible? if it is, how to make it?
I already know how to make it by Objective-C, just want to use swift.