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