Bewerken

Delen via


MDLVertexDescriptor.FromMetal Method

Definition

Overloads

FromMetal(MTLVertexDescriptor)

Creates a new vertex descriptor from a Metal vertex descriptor.

FromMetal(MTLVertexDescriptor, NSError)

Creates a Model IO vertex descriptor from the specified metal vertex descriptor.

FromMetal(MTLVertexDescriptor)

Creates a new vertex descriptor from a Metal vertex descriptor.

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

Parameters

descriptor
MTLVertexDescriptor

Returns

Applies to

FromMetal(MTLVertexDescriptor, NSError)

Creates a Model IO vertex descriptor from the specified metal vertex descriptor.

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

Parameters

descriptor
MTLVertexDescriptor
error
NSError

Returns

Attributes

Applies to