Edit

Share via


MTKMesh.FromAsset(MDLAsset, IMTLDevice, MDLMesh[], NSError) Method

Definition

Creates and returns a new Metal Kit mesh from the supplied Model IO asset.

public static MetalKit.MTKMesh[] FromAsset (ModelIO.MDLAsset asset, Metal.IMTLDevice device, out ModelIO.MDLMesh[] sourceMeshes, out Foundation.NSError error);
static member FromAsset : ModelIO.MDLAsset * Metal.IMTLDevice *  *  -> MetalKit.MTKMesh[]

Parameters

asset
MDLAsset
device
IMTLDevice
sourceMeshes
MDLMesh[]
error
NSError

Returns

Applies to