pub unsafe extern "C-unwind" fn MTKMetalVertexFormatFromModelIO(
vertex_format: MDLVertexFormat,
) -> MTLVertexFormat
Available on crate features
MTKModel
and objc2-model-io
only.Expand description
Converts a Model I/O vertex format to a Metal vertex format
Returns: A Metal vertexformat correspoinding to the given Model I/O vertex format. Returns MTLVertexFormatInvalid if no matching Metal vertex format exists.