Function

MTKMetalVertexDescriptorFromModelIO

Returns a partially converted Metal vertex descriptor.

Declaration

MTLVertexDescriptor * MTKMetalVertexDescriptorFromModelIO(MDLVertexDescriptor *modelIODescriptor);

Parameters

metalDescriptor

A Model I/O vertex descriptor to convert from.

Return Value

A Metal vertex descriptor object.

Discussion

This function is equivalent to the MTKMetalVertexDescriptorFromModelIOWithError function, but does not report errors.

See Also

Converting Between Model I/O and Metal Vertex Descriptors

MTKMetalVertexDescriptorFromModelIOWithError

Returns a partially converted Metal vertex descriptor, reporting any error that occurs.

MTKModelIOVertexDescriptorFromMetal

Returns a partially converted Model I/O vertex descriptor.

MTKModelIOVertexDescriptorFromMetalWithError

Returns a partially converted Model I/O vertex descriptor, reporting any error that occurs.