init(semantic:format:layoutIndex:offset:)

Creates an attribute for a low-level mesh.

Declaration

init(semantic: LowLevelMesh.VertexSemantic, format: MTLVertexFormat, layoutIndex: Int = 0, offset: Int)