Upravit

Sdílet prostřednictvím


MTLVertexDescriptor.FromModelIO Method

Definition

Overloads

FromModelIO(MDLVertexDescriptor)

Creates and returns a new vertex descriptor object from the provided Model IO vertex descriptor.

FromModelIO(MDLVertexDescriptor, NSError)

Creates and returns a new vertex descriptor object from the provided Model IO vertex descriptor.

FromModelIO(MDLVertexDescriptor)

Creates and returns a new vertex descriptor object from the provided Model IO vertex descriptor.

public static Metal.MTLVertexDescriptor FromModelIO (ModelIO.MDLVertexDescriptor descriptor);
static member FromModelIO : ModelIO.MDLVertexDescriptor -> Metal.MTLVertexDescriptor

Parameters

descriptor
MDLVertexDescriptor

Returns

Applies to

FromModelIO(MDLVertexDescriptor, NSError)

Creates and returns a new vertex descriptor object from the provided Model IO vertex descriptor.

[ObjCRuntime.TV(10, 0)]
public static Metal.MTLVertexDescriptor FromModelIO (ModelIO.MDLVertexDescriptor descriptor, out Foundation.NSError error);
static member FromModelIO : ModelIO.MDLVertexDescriptor *  -> Metal.MTLVertexDescriptor

Parameters

descriptor
MDLVertexDescriptor
error
NSError

Returns

Attributes

Applies to